send rtwo command -string and speed-

test_board
JbLb 5 years ago
parent 8c69d15e74
commit 69b384a9b7

@ -30,7 +30,7 @@
// // #define DEBUG_SERIAL_USART3 // // #define DEBUG_SERIAL_USART3
// ******************************************************************* // *******************************************************************
#define VERSION_TAG "v test 0.1" #define VERSION_TAG "v test 0.2"
// ########################## DEFINES ########################## // ########################## DEFINES ##########################
@ -266,9 +266,7 @@ int old_cursorX, old_cursorY;
old_cursorY = display.getCursorY(); old_cursorY = display.getCursorY();
display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display
display.setCursor(old_cursorX, old_cursorY); display.setCursor(old_cursorX, old_cursorY);
// display.print(cmd1); display.print(cmd1);
display.print(cmd2);
/*
display.setCursor(0, 50); display.setCursor(0, 50);
display.setTextSize(1); // Draw 1X-scale text display.setTextSize(1); // Draw 1X-scale text
display.setTextColor(SSD1306_WHITE); display.setTextColor(SSD1306_WHITE);
@ -277,12 +275,13 @@ int old_cursorX, old_cursorY;
old_cursorY = display.getCursorY(); old_cursorY = display.getCursorY();
display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display display.fillRect(old_cursorX, old_cursorY, (6 * 5), 8, SSD1306_BLACK); // erase previous display
display.setCursor(old_cursorX, old_cursorY); display.setCursor(old_cursorX, old_cursorY);
display.print(cmd2); display.print(cmd2);
*/
display.display(); display.display();
// Send(cmd1, cmd2); Send(cmd1, cmd2);
Send(0, cmd2); // Send(0, cmd2);
} }
// ########################## nunchuk ########################## // ########################## nunchuk ##########################

Loading…
Cancel
Save