From 63136a5243ae6e2d607835b40fc0673adf532159 Mon Sep 17 00:00:00 2001 From: jerome Date: Wed, 16 Dec 2020 10:22:04 +0100 Subject: [PATCH] full display --- src/hoverserial.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hoverserial.ino b/src/hoverserial.ino index 1f6406f..642aed7 100644 --- a/src/hoverserial.ino +++ b/src/hoverserial.ino @@ -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;