This project displays a Rotary Pot IO reading using the seven segment font.
This project uses the following component(s) -
•Rotary Pot IO
In the Setup() routine, it loads the seven segment font and stores its handle into the font variable. Here is the sample code snippet -
The loop() routine reads the value from the analog pin A0 and rescales it between 0 to 5000. It then prepares the string buffer using this value and draws on screen using the StringExt() command. Here is the code snippet -