Making Real Meters
Do you want to have the readings from the pots displayed like a real meter? Figure 17-15 shows a program that does this. Basically all that is happening is that the analog reading is used to set the angle of a line. This is plotted over the top of an image of a meter we created in Photoshop on a desktop computer. You can find the program to do this called PotMeter4.py on the website that accompanies this book and use it as a basic analog input check or incorporate it into you own program.
Figure 17-15: Displaying real meters.