File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Examples/Advanced/OpenLCD_Qwiic_RGB_Backlight Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ void loop()
216
216
delay (2000 );
217
217
218
218
// Turn on all (white)
219
+ Serial.println (" Setting RGB backlight to white" );
219
220
Wire.beginTransmission (DISPLAY_ADDRESS1); // transmit to device #1
220
221
Wire.write (' |' ); // Put LCD into setting mode
221
222
Wire.write (' -' ); // Send clear display command
@@ -229,6 +230,7 @@ void loop()
229
230
delay (2000 );
230
231
231
232
// Set to Gray
233
+ Serial.println (" Setting RGB backlight to gray" );
232
234
Wire.beginTransmission (DISPLAY_ADDRESS1); // transmit to device #1
233
235
Wire.write (' |' ); // Put LCD into setting mode
234
236
Wire.write (' -' ); // Send clear display command
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ void updateDisplay()
433
433
}
434
434
else if (modeSetRGB == true )
435
435
{
436
- // We get into this mode if the user has sent the correct setting command
436
+ // We get into this mode if the user has sent the + (43) command to set the backlight rgb values
437
437
rgbData[rgbSpot] = incoming; // Record this byte to the array
438
438
439
439
rgbSpot++;
You can’t perform that action at this time.
0 commit comments