Skip to content

Commit

Permalink
update examples - more default colors
Browse files Browse the repository at this point in the history
  • Loading branch information
felixthecat8a committed Jan 1, 2025
1 parent 50db975 commit f80cb81
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion examples/SimpleExample/SimpleExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,50 @@ void loop() {
lcd.setCursor(0,1); lcd.print("Red"); lcd.print(" ");
// Change color every second.
delay(1000);


backlight.setOrange();
lcd.setCursor(0,1); lcd.print("Orange"); lcd.print(" ");
delay(1000);

backlight.setYellow();
lcd.setCursor(0,1); lcd.print("Yellow"); lcd.print(" ");
delay(1000);

backlight.setLimeGreen();
lcd.setCursor(0,1); lcd.print("Lime Green"); lcd.print(" ");
delay(1000);

backlight.setGreen();
lcd.setCursor(0,1); lcd.print("Green"); lcd.print(" ");
delay(1000);

backlight.setTeal();
lcd.setCursor(0,1); lcd.print("Teal"); lcd.print(" ");
delay(1000);

backlight.setCyan();
lcd.setCursor(0,1); lcd.print("Cyan"); lcd.print(" ");
delay(1000);

backlight.setSkyBlue();
lcd.setCursor(0,1); lcd.print("Sky Blue"); lcd.print(" ");
delay(1000);

backlight.setBlue();
lcd.setCursor(0,1); lcd.print("Blue"); lcd.print(" ");
delay(1000);

backlight.setPurple();
lcd.setCursor(0,1); lcd.print("Purple"); lcd.print(" ");
delay(1000);

backlight.setMagenta();
lcd.setCursor(0,1); lcd.print("Magenta"); lcd.print(" ");
delay(1000);

backlight.setPink();
lcd.setCursor(0,1); lcd.print("Pink"); lcd.print(" ");
delay(1000);


}

0 comments on commit f80cb81

Please sign in to comment.