|
|
|
|
@ -255,7 +255,7 @@ int old_cursorX, old_cursorY;
|
|
|
|
|
Serial.print("Y : "); Serial.println(nchuk.joyY());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
display.setCursor(0, 40);
|
|
|
|
|
display.setTextSize(1); // Draw 1X-scale text
|
|
|
|
|
display.setTextColor(SSD1306_WHITE);
|
|
|
|
|
@ -275,9 +275,9 @@ int old_cursorX, old_cursorY;
|
|
|
|
|
display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display
|
|
|
|
|
display.setCursor(old_cursorX, old_cursorY);
|
|
|
|
|
display.print(cmd2);
|
|
|
|
|
|
|
|
|
|
display.display();
|
|
|
|
|
*/
|
|
|
|
|
display.display();
|
|
|
|
|
|
|
|
|
|
// Send(cmd1, cmd2);
|
|
|
|
|
Send(0, cmd2);
|
|
|
|
|
}
|
|
|
|
|
|