Grove 16x2 LCD Backlight

Hi everybody,



Is there a way to turn off the backlight on a Grove 16x2 LCD Series ?



I guess that the function lcd.setRGB used in the “Hello World” example works for the Grove LCD RGB Backlight only.



Thanks for your answer

Hi, octance.



Did you try to set RGB the value to zero? Is that working?

</s>const int colorR = 0; const int colorG = 0; const int colorB = 0;<e>

full code


[code]#include <Wire.h>
#include “rgb_lcd.h”

rgb_lcd lcd;

const int colorR = 0;
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);

}[/code]

Hi salmanfarisvp,



I tried your tips, but it didn’t work. I currently think that it’s not possible to turn off the backlight on the LCD series

I was wondering the same if you can turn off the backlight. So far I have not found a way…
Would be great to get an update here…


Maybe you can try these two functions. @golg

Looking for assitance in setting up a SEED Gove - LCD RGB Backlight display #MOA180423214 with my trusty Arduino MEGA2560 board. I don’t see a place to upload my sketch and compile errors?

Thanking you in advance,

Paul D. Wilkie

You can upload from here.