Seeed-Studio / Grove_LCD_RGB_Backlight

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

no noBacklight() function ? #13

Closed Jimbo-77 closed 4 years ago

Jimbo-77 commented 4 years ago

Hi,

I'm surprised not to see a noBacklight() function. It will be nice to have this feature.

regards,

Jim

Pillar1989 commented 4 years ago

Does this function not work? https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/blob/master/rgb_lcd.h#L140

Kodar-le-dok commented 2 years ago

I would rather use the following block, to avoid any blinking issue:

lcd.setPWM(REG_RED, 0);
lcd.setPWM(REG_GREEN, 0);
lcd.setPWM(REG_BLUE, 0);