This is our GFX example for the Adafruit ILI9341 Breakout and Shield ----> http://www.adafruit.com/products/1651 Check out the links above for our tutorials and wiring diagrams These displays use SPI to communicate, 4 or 5 pins are required to interface (RST is optional) Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Written by Limor Fried/Ladyada for Adafruit Industries. MIT license, all text above must be included in any redistribution
Dependencies: Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI mbed
Revision 1:ad0604ca8377, committed 2014-12-05
- Comitter:
- infotech1
- Date:
- Fri Dec 05 06:50:21 2014 +0000
- Parent:
- 0:0697cb7bb5a1
- Commit message:
- Initial commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0697cb7bb5a1 -r ad0604ca8377 main.cpp --- a/main.cpp Fri Dec 05 06:47:40 2014 +0000 +++ b/main.cpp Fri Dec 05 06:50:21 2014 +0000 @@ -1,3 +1,19 @@ +/*************************************************** + This is our GFX example for the Adafruit ILI9341 Breakout and Shield + ----> http://www.adafruit.com/products/1651 + Check out the links above for our tutorials and wiring diagrams + These displays use SPI to communicate, 4 or 5 pins are required to + interface (RST is optional) + Adafruit invests time and resources providing this open source code, + please support Adafruit and open-source hardware by purchasing + products from Adafruit! + Written by Limor Fried/Ladyada for Adafruit Industries. + MIT license, all text above must be included in any redistribution + ****************************************************/ + /* + Ported to mbed by James Kidd + */ + #include "mbed.h" #include "Adafruit_ILI9341.h" // Change to your dc/cs/rst pins