|
|
|
|
@ -263,7 +263,7 @@ 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(cmd1);
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
display.setCursor(0, 50);
|
|
|
|
|
display.setTextSize(1); // Draw 1X-scale text
|
|
|
|
|
display.setTextColor(SSD1306_WHITE);
|
|
|
|
|
@ -273,7 +273,7 @@ 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();
|
|
|
|
|
|
|
|
|
|
// Send(cmd1, cmd2);
|
|
|
|
|
@ -366,7 +366,7 @@ void loop(void)
|
|
|
|
|
unsigned long timeNow = millis();
|
|
|
|
|
|
|
|
|
|
// Check for new received data
|
|
|
|
|
// Receive();
|
|
|
|
|
Receive();
|
|
|
|
|
|
|
|
|
|
if (iTimeSend > timeNow)
|
|
|
|
|
return;
|
|
|
|
|
|