Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
felixthecat8a committed Oct 12, 2024
1 parent 94320fe commit d57cca3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/HelloWorld/HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void setup() {
lcd.begin(16, 2);
// initiate the backlight RGB pins
backlight.begin();
// Set the brightness level (0 - 255)
// The default value is 255.
// Set the brightness level (0 - 255).
// If the color is not set, default value is 255.
backlight.setBrightness(130);
// Set the backlight using RGB values
// If the color is not set, the default color is (0, 128, 128)
Expand Down
8 changes: 4 additions & 4 deletions examples/SimpleExample/SimpleExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ void setup() {
lcd.begin(16, 2);
// Initiate the RGB pins.
backlight.begin();
// Set the brightness level (0 - 255)
// Default value is 255
// Set the brightness level (0 - 255). (optional)
// If not set, the default value is 255
backlight.setBrightness(150);
// Set the backlight using RGB values.
// If not set, the default value is (0, 128, 128)
// Set the backlight using RGB values. (optional)
// If not set, the default value is (10, 128, 128)
backlight.setRGB(10, 150, 150);
// or set the color and brightness at the same time:
//backlight.setRGB(10, 150, 150, 150);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=LCD_BacklightRGB
version=1.1.2
version=1.1.3
author=Felix Ochoa
maintainer=Felix Ochoa
sentence=An Arduino library for an 18-pin RGB LCD Display backlight
Expand Down

0 comments on commit d57cca3

Please sign in to comment.