Extension for: Seeedstudio, Grove - LCD RGB Backlight library (Grove_LCD_RGB_Backlight, see Required Libraries below).
This library was developed as a convenience wrapper for the Grove - LCD RGB Backlight library, and for usage in this GitHub Grove LCD RGB Clock project.
License information can be found here.
- For Arduino/C++ development Sloeber was used (https://eclipse.baeyens.it).
- For Markdown editing Visual Studio Code was used, with following plug-ins for:
- Language checking: Code Spell Checker
- Style checking: Markdown All in One, and markdownlint
Following hardware was used for this project:
- Arduino UNO R3 (my board says UNO R3, from arduino.org)
- Grove Base Shield V2.0 for Arduino (using version 2.1)
- Grove - LCD RGB Backlight (using version 4.0)
This library requires:
- https://github.com/pieterbl/Grove_LCD_RGB_Backlight
- which is a slightly modified version of https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight
- none of the performed changes, modifies the original library behavior
- some of the changes fix C++ compiler warnings
- the other changes were style issues and some typos that were fixed
- Standard Arduino "Wire" library
- <Wire.h> is required by "rgb_lcd.cpp" from the Grove_LCD_RGB_Backlight library
See Base-Shield-V2.html, stating:
- Every Grove connector has four wires, one of which is the VCC. However, not every micro-controller main board needs a supply voltage of 5V, some boards only need 3.3V.
- That's why we add a power toggle switch to Base Shield V2 so that you can select the suitable voltage of the micro-controller main board you are using via this switch.
- For example, if you are using Arduino UNO with Base Shield V2, please turn the switch to 5V position; while using Seeeduino Arch with Base Shield V2, please turn the switch to 3.3V.
Example | Description |
---|---|
DebugSlideBlueOnly | Illustrates how the slider behaves if "to" and "from" color have the same value. Very much like DebugSlider. |
DebugSlider | Illustrates how to debug the ColorSlider on a "short" color range. Very much like DebugSlideBlueOnly. |
DisplayTextRGB | Illustrates how to set the RGB display color to red, to green, to blue, for-ever. |
SlideFromOrangeToMagenta | Illustrates how to "slide" the RGB display color from orange to magenta, to orange to magenta, for-ever, while printing timer information. Very much like SlideFromToForEver. |
SlideFromToForEver | Illustrates how to "slide" the RGB display color from blue to red, to blue to red, for-ever, while printing timer information. Very much like SlideFromOrangeToMagenta. |
SlideRGB | Illustrates how to "slide" the RGB display color from red to green, from green to blue, from blue to red, for-ever. |
SlideToBlue | Illustrates how to "slide" the RGB display color from green to blue, only once. |
If you want some inspiration for interesting colors, you may want to go here http://rgbcolorcode.com/. It has everything you need, e.g.
Color Name | Color Pointer |
---|---|
Acid Green aka Android Green | https://rgbcolorcode.com/color/acid-green |
Alien Armpit aka Lawn Green | https://rgbcolorcode.com/color/alien-armpit |
Blizzard Blue | https://rgbcolorcode.com/color/blizzard-blue |
Electric Yellow | https://rgbcolorcode.com/color/electric-yellow |