|
|
|
|
@ -257,10 +257,10 @@ void loop(void)
|
|
|
|
|
display.setTextSize(1); // Draw 1X-scale text
|
|
|
|
|
display.setTextColor(SSD1306_WHITE);
|
|
|
|
|
display.print("Speed : ");
|
|
|
|
|
display.setCursor(45, 30);
|
|
|
|
|
display.print(" ");
|
|
|
|
|
display.display();
|
|
|
|
|
display.setCursor(45, 30);
|
|
|
|
|
old_cursorX = display.getCursorX();
|
|
|
|
|
old_cursorY = display.getCursorY();
|
|
|
|
|
display.fillRect(old_cursorX,old_cursorY,(6*4),8,SSD1306_BLACK); // erase previous display
|
|
|
|
|
display.setCursor(old_cursorX,old_cursorY);
|
|
|
|
|
display.print(iTest);
|
|
|
|
|
display.display();
|
|
|
|
|
// Calculate test command signal
|
|
|
|
|
|