Hi, so I'm trying, just for a "first project", to make a bar with a line in the middle, like a paddle, that can be moved left or right, through a potentiometer, on my new 96" 128x64 I2C OLED. I have gotten that working, but I also want a text line saying "...%" (the no. before the "%" is just the pot's 0-1023 mapped to 0-100, to basically say how much of the way is the potentiometer turned), but when I try to run, there is no text, only the "progress" bar.
Any help?
Code:
The reason that your text is not showing up is because you did not set the text color.
display.setTextColor(WHITE,BLACK);
If your text color will be the same throughout your sketch (white text on a black background), you can add that code to your void setup(), otherwise you can add it your void loop() before you print the text.