mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
Update instructions
This commit is contained in:
15
README.md
15
README.md
@@ -1,20 +1,25 @@
|
|||||||
#MCUFRIEND_kbv
|
#MCUFRIEND_kbv
|
||||||
Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
|
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.
|
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.
|
||||||
|
|
||||||
5. Build any of the Examples from the File->Examples->Mcufriend_kbv menu. e.g.
|
|
||||||
|
|
||||||
graphictest_kbv.ino: shows all the methods.
|
graphictest_kbv.ino: shows all the methods.
|
||||||
|
|
||||||
LCD_ID_readreg.ino: diagnostic check to identify unsupported controllers.
|
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"
|
HOW TO INSTALL AND USE: is now in "mcufriend_how_to.txt"
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
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.
|
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)
|
||||||
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.
|
6. This library is only intended for UNO and these specific Shields. It will work on a MEGA2560 but not very fast.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user