Some (unsuccessfull) encoder tests
This commit is contained in:
13
Extra/EncoderPollingTest/UI.ino
Normal file
13
Extra/EncoderPollingTest/UI.ino
Normal file
@ -0,0 +1,13 @@
|
||||
void updateScreen() {
|
||||
|
||||
u8g2.firstPage();
|
||||
do {
|
||||
String valueStr;
|
||||
u8g2.setDrawColor(1);
|
||||
|
||||
valueStr = String(counter);
|
||||
u8g2.setFont(u8g2_font_ncenB14_tr);
|
||||
u8g2.drawStr(0,15,valueStr.c_str());
|
||||
|
||||
} while ( u8g2.nextPage() );
|
||||
}
|
||||
Reference in New Issue
Block a user