diff --git a/src/hoverserial.ino b/src/hoverserial.ino index 49a4672..b9d6354 100644 --- a/src/hoverserial.ino +++ b/src/hoverserial.ino @@ -30,7 +30,7 @@ // // #define DEBUG_SERIAL_USART3 // ******************************************************************* -#define VERSION_TAG "v test 0.1" +#define VERSION_TAG "v test 0.2" // ########################## DEFINES ########################## @@ -266,9 +266,7 @@ int old_cursorX, old_cursorY; old_cursorY = display.getCursorY(); display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display display.setCursor(old_cursorX, old_cursorY); - // display.print(cmd1); - display.print(cmd2); - /* + display.print(cmd1); display.setCursor(0, 50); display.setTextSize(1); // Draw 1X-scale text display.setTextColor(SSD1306_WHITE); @@ -277,12 +275,13 @@ int old_cursorX, old_cursorY; old_cursorY = display.getCursorY(); 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(); - // Send(cmd1, cmd2); - Send(0, cmd2); + Send(cmd1, cmd2); +// Send(0, cmd2); } // ########################## nunchuk ##########################