Grove - LCD RGB Backlight
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
LCD_RGB_Arduino.h
LCD_RGB_Suli.cpp
LCD_RGB_Suli.h
License.txt
README.md
keywords.txt

README.md

Grove - LCD RGB Backlight

Grove - LCD RGB Backlight


Done with tedious mono color backlight? This Grove enables you to set the color to whatever you like via the simple and concise Grove interface. It takes I2C as communication method with your microcontroller. So number of pins required for data exchange and backlight control shrinks from ~10 to 2, relieving IOs for other challenging tasks. Besides, Grove - LCD RGB Backlight supports user-defined characters. Want to get a love heart or some other foreign characters? Just take advantage of this feature and design it!
## Usage:

This is an Arudino Library. It include a .h file, a .cpp file and some examples. Through these examples, you can quickly master the use of Grove - LCD RGB Backlight.

The folowing we will introduce some function which is used very normal.

Initialization

At the very beginning of we use this lcd, we should had it initialized. You can use this function :

lcd.begin(16, 2);

It means that this lcd has 16 lines and 2 rows.


### Change Color of Backlight One of Grove - LCD RGB Backlight's most important feature is: you can change the color backlight, and it's a very simple thing, just use the folowing function:
void setRGB(int r, int g, int b);

### Clear Display

You can clear the display by this function:

void clear();

### Turn on and turn of display
void noDisplay();			// turn off display
void display();				// turn on display

### Blink
void noBlink();
void blink();

### Cursor
void noCursor();
void cursor();

For more information, please refer to [wiki page](http://www.seeedstudio.com/wiki/Grove_-_LCD_RGB_Backlight).

Note:

This is a Suli-Compatible Library, You Should Download Suli for your platform, please refer to https://github.com/Seeed-Studio/Suli

If you can't find Suli for your platform, please contract us, If you can port it yourself and pull request to us, We'll be appreciated.

For Arduino:

Just like you use the other Library, What's different is you should download Suli for Arduino First, remember that just put Suli for Arduino to your Arduino libraries folder.

For non-Arduino Platform:

For a non-Arduino platform, what you need is xxx.h and xxx.cpp(you can change it to xxx.c while your compiler can't support c++), the other files like xxx_Arduino.h and examples is for Arduino, you can just delete them.


This software is written by loovee(luweicong@seeedstudio.com) for seeed studio
and is licensed under The MIT License. Check License.txt for more information.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics