From fe85eaba869e3a791543e69a3033d3988f94bd4d Mon Sep 17 00:00:00 2001 From: Dmitry <42750167+Dmitry-Chernikov@users.noreply.github.com> Date: Fri, 10 Jan 2025 14:23:37 +0400 Subject: [PATCH] Update HelloWorld.ino Commented out the color definitions in the example --- examples/HelloWorld/HelloWorld.ino | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/HelloWorld/HelloWorld.ino b/examples/HelloWorld/HelloWorld.ino index 940ad38..3178f87 100644 --- a/examples/HelloWorld/HelloWorld.ino +++ b/examples/HelloWorld/HelloWorld.ino @@ -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