Skip to content

Commit

Permalink
Update HelloWorld.ino
Browse files Browse the repository at this point in the history
Commented out the color definitions in the example
  • Loading branch information
Dmitry-Chernikov authored Jan 10, 2025
1 parent ccf2fb5 commit fe85eab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/HelloWorld/HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ When a button is pressed, the backlight changes color.
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();

// These #defines make it easy to set the backlight color
[[deprecated("Use Color enumeration, Color enumeration is declared in the library.")]]
#define RED 0x1
#define YELLOW 0x3
#define GREEN 0x2
#define TEAL 0x6
#define BLUE 0x4
#define VIOLET 0x5
#define WHITE 0x7
//[[deprecated("Use Color enumeration, Color enumeration is declared in the library.")]]
//#define RED 0x1
//#define YELLOW 0x3
//#define GREEN 0x2
//#define TEAL 0x6
//#define BLUE 0x4
//#define VIOLET 0x5
//#define WHITE 0x7

void setup() {
// Debugging output
Expand Down

0 comments on commit fe85eab

Please sign in to comment.