display setup (continued)

master
JbLb 6 years ago
parent dac1873e33
commit ebb87fc624

@ -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);

Loading…
Cancel
Save