From ebb87fc624e9bd4d47c0577db896b7d707a2bb69 Mon Sep 17 00:00:00 2001 From: JbLb Date: Thu, 2 Jan 2020 22:14:32 +0100 Subject: [PATCH] display setup (continued) --- src/hoverserial.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/hoverserial.ino b/src/hoverserial.ino index a330819..713f4f0 100644 --- a/src/hoverserial.ino +++ b/src/hoverserial.ino @@ -88,7 +88,12 @@ void setup() { display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64) - + // Clear the buffer + display.clearDisplay(); + display.display(); + display.setCursor(0, 0); + display.println("Hello World!"); + Serial1.begin(HOVER_SERIAL_BAUD); // RX, TX from arduino to TX RX on hoverboard board. ! be carreful 3v3 pinMode(LED_BUILTIN, OUTPUT);