![](/media/cache/profiles/951e5e38cb91253e90bcae5ccd7baf3c.jpg.50x50_q85.jpg)
This example demonstrates how to use an TFT LCD display using the SPI.
Fork of Nucleo_Ex01_TFT by
Intro
This example demonstrates how to use an TFT LCD display using the SPI.
Parts
STM32 Nucleo F446RE |
QVGA 2.2 TFT SPI 240x320 (ILI9341) |
Register 100k ohm |
Register 100 ohm |
Breadboard |
Wires |
Wiring diagram
This circuit diagram was created by fritzing.
TFT J2 | Nucleo |
---|---|
VCC | 3V3 |
GND | GND |
CS | PB_5(D4) |
Reset | PA_10(D2) Pull Up(100k) |
D/C | PA_8(D7) |
MOSI | PA_7(D11) |
SCK | PA_5(D13) |
LED | LED-100ohm-3V3 |
MISO | PA_6(D12) |
Revision 1:9c5fbf92ee76, committed 2016-03-21
- Comitter:
- beaglescout007
- Date:
- Mon Mar 21 11:41:25 2016 +0000
- Parent:
- 0:de7a10d9be52
- Commit message:
- TFT_GREEN value was fixed.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Mar 06 01:56:17 2016 +0000 +++ b/main.cpp Mon Mar 21 11:41:25 2016 +0000 @@ -11,7 +11,7 @@ #define TFT_BLUE 0x1F00 #define TFT_RED 0x00F8 -#define TFT_GREEN 0x0004 +#define TFT_GREEN 0xE007 /*-------------------------------------------------------------------*/ /* Write command */