2016-03-19 21:43:31 +00:00
|
|
|
#MCUFRIEND_kbv
|
|
|
|
|
Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
|
|
|
|
|
|
2017-01-30 20:51:35 +00:00
|
|
|
1. The Arduino Library Manager should find and install MCUFRIEND_kbv library
|
2016-03-19 20:54:08 +00:00
|
|
|
|
2017-01-30 20:51:35 +00:00
|
|
|
2. Install the Adafruit_GFX library if not already in your User libraries.
|
2016-03-19 20:54:08 +00:00
|
|
|
|
|
|
|
|
3. Insert your Mcufriend style display shield into UNO. Only 28-pin shields are supported.
|
|
|
|
|
|
2017-01-30 20:51:35 +00:00
|
|
|
4. Build any of the Examples from the File->Examples->Mcufriend_kbv menu. e.g.
|
2016-03-19 21:18:19 +00:00
|
|
|
|
|
|
|
|
graphictest_kbv.ino: shows all the methods.
|
|
|
|
|
|
|
|
|
|
LCD_ID_readreg.ino: diagnostic check to identify unsupported controllers.
|
|
|
|
|
|
2017-01-30 20:57:24 +00:00
|
|
|
MCUFRIEND_kbv inherits all the methods from
|
|
|
|
|
the Adafruit_GFX class: https://learn.adafruit.com/adafruit-gfx-graphics-library/overview
|
|
|
|
|
and Print class: https://www.arduino.cc/en/Serial/Print
|
2017-01-30 20:51:35 +00:00
|
|
|
|
|
|
|
|
The only "new" methods are hardware related:
|
|
|
|
|
vertScroll(), readGRAM(), readPixel(), setAddrWindow(), pushColors(), readID(), begin()
|
2017-01-30 21:26:12 +00:00
|
|
|
|
2017-01-30 20:51:35 +00:00
|
|
|
readReg(), pushCommand() access the controller registers
|
2016-03-19 20:54:08 +00:00
|
|
|
|
2017-01-30 21:26:12 +00:00
|
|
|
The File layout changed with v2.9.3. If replacing a pre-v2.9.3 library:
|
|
|
|
|
Please leave IDE. Delete the existing MCUFRIEND_kbv folder. Start the IDE. Install from Library Manager.
|
|
|
|
|
|
2016-03-19 21:13:10 +00:00
|
|
|
HOW TO INSTALL AND USE: is now in "mcufriend_how_to.txt"
|
2016-03-19 21:18:19 +00:00
|
|
|
|
2016-03-19 21:13:10 +00:00
|
|
|
CHANGE HISTORY: is now in "mcufriend_history.txt"
|