Update instructions

This commit is contained in:
prenticedavid
2017-01-30 20:51:35 +00:00
parent 17798b67fa
commit fbf0cf1583
2 changed files with 14 additions and 10 deletions

View File

@@ -1,20 +1,25 @@
#MCUFRIEND_kbv
Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
1. Install "Adafruit_GFX.h" library from GitHub into your User libraries folder if not already there.
1. The Arduino Library Manager should find and install MCUFRIEND_kbv library
2. Unzip the attached "MCUFRIEND_kbv.zip" into your User libraries folder.
2. Install the Adafruit_GFX library if not already in your User libraries.
3. Insert your Mcufriend style display shield into UNO. Only 28-pin shields are supported.
4. Start your Arduino IDE.
5. Build any of the Examples from the File->Examples->Mcufriend_kbv menu. e.g.
4. Build any of the Examples from the File->Examples->Mcufriend_kbv menu. e.g.
graphictest_kbv.ino: shows all the methods.
LCD_ID_readreg.ino: diagnostic check to identify unsupported controllers.
MCUFRIEND_kbv inherits all the methods from the
[url=https://learn.adafruit.com/adafruit-gfx-graphics-library/overview]Adafruit_GFX class[/url] and
[url=https://www.arduino.cc/en/Serial/Print]Print class[/url]
The only "new" methods are hardware related:
vertScroll(), readGRAM(), readPixel(), setAddrWindow(), pushColors(), readID(), begin()
readReg(), pushCommand() access the controller registers
HOW TO INSTALL AND USE: is now in "mcufriend_how_to.txt"

View File

@@ -1,13 +1,12 @@
1. Install "Adafruit_GFX.h" library from GitHub into your User libraries folder if not already there.
1. The Arduino Library Manager should find and install MCUFRIEND_kbv library
2. Unzip the attached "MCUFRIEND_kbv.zip" into your User libraries folder.
2. Install the Adafruit_GFX library if not already in your User libraries.
3. Insert your Mcufriend style display shield into UNO. Only 28-pin shields are supported.
4. Start your Arduino IDE.
4. Build any of the Examples from the File->Examples->Mcufriend_kbv menu. e.g. graphictest_kbv.ino
5. Build any of the Examples from the File->Examples->Mcufriend_kbv menu.
Most of them will write some text to the Serial window (9600 baud). The BMP examples require you to copy the pictures from the bitmaps/ folder to your microSD (root directory)
5. Most of them will write some text to the Serial window (9600 baud). The BMP examples require you to copy the pictures from the bitmaps/ folder to your microSD (root directory)
6. This library is only intended for UNO and these specific Shields. It will work on a MEGA2560 but not very fast.