Seeed-Studio / Grove_LCD_RGB_Backlight

Seeedstudio, Grove - LCD RGB Backlight
MIT License
79 stars 90 forks source link

lcd.print("Hello world") not printing anything? #15

Open romain130492 opened 2 years ago

romain130492 commented 2 years ago

Hey

i cannot make that simple hello world file to work,,

#include <Wire.h>
#include "rgb_lcd.h"

rgb_lcd lcd;

const int colorR = 255;
const int colorG = 0;
const int colorB = 0;

void setup() {
    // set up the LCD's number of columns and rows:
    lcd.begin(16, 2);

    lcd.setRGB(colorR, colorG, colorB);

    // Print a message to the LCD.
    lcd.print("hello, world!");

    delay(1000);
}

void loop() {
    // set the cursor to column 0, line 1
    // (note: line 1 is the second row, since counting begins with 0):
    lcd.setCursor(0, 1);
    // print the number of seconds since reset:
    lcd.print(millis() / 1000);

    delay(100);
}
Screen Shot 2021-12-17 at 10 09 01 PM
dsssssssss9 commented 2 years ago

This display is 5v only I believe..

From your picture it appears that you have the VCC switch set to 3.3V ?

If this is the case , could you please power off & move the VCC switch to the 5V position . Power up & try again .

Hope this helps ?