Demo for FT800 library. 7 sliders are used to control the RGB color, size & position.

Dependencies:   FT800-480x272

HARDWARE:

CONNECTION: ------------------------------------ FRDM-K64F Break Out Board ------------------------------------ +3.3V --- Pin 17 BLVDD +3.3V --- Pin 1 VDD GND --- Pin 2 GND D13 (PTD1) SCLK --- Pin 3 SPI SCLK D12 (PTD3) MISO --- Pin 4 MISO D11 (PTD2) MOSI --- PIN 5 MOSI D10 (PTD0) --- Pin 6 CS D9 (PTC4) --- Pin 7 INT D8 (PTC12) --- Pin 8 PD ------------------------------------

https://os.mbed.com/media/uploads/nz/demo-sliders.jpg

Revision:
1:e4305b342044
Parent:
0:a3a642a3024c
Child:
2:d913edc0f712
--- a/main.cpp	Thu Dec 03 23:14:50 2020 +0000
+++ b/main.cpp	Sun Dec 06 13:41:59 2020 +0000
@@ -1,9 +1,46 @@
+/*
+* Copyright (c) 2020 Nikolai Zimfer
+* MIT License: http://mbed.org/license/mit
+*
+*
+* HARDWARE:
+* Board FRDM-K64F                        - https://os.mbed.com/platforms/FRDM-K64F/
+* Display 4.3" 480 x 272 (RVT43ULFNWC03) - https://riverdi.com/product/rvt43ulfnwc0x/
+* Break Out Board 20                     - https://riverdi.com/product/break-out-board-20/
+* Cable FFC, 0.5mm pitch, 20 pin, 150 mm - https://riverdi.com/product/ffc0520150/
+*
+*
+* CONNECTION:
+* ------------------------------------
+* FRDM-K64F           Break Out Board
+* ------------------------------------
+* +3.3V           --- Pin 17 BLVDD
+* +3.3V           --- Pin 1 VDD
+* GND             --- Pin 2 GND
+* D13 (PTD1) SCLK --- Pin 3 SPI SCLK
+* D12 (PTD3) MISO --- Pin 4 MISO
+* D11 (PTD2) MOSI --- PIN 5 MOSI
+* D10 (PTD0)      --- Pin 6 CS
+* D9  (PTC4)      --- Pin 7 INT
+* D8  (PTC12)     --- Pin 8 PD
+* ------------------------------------
+*
+*
+* CODE main.cpp
+* FT800 TFT(D11, D12, D13, D10, D9, D8);   // FRDM-K64F, SPI Initialization
+*
+*
+* IMAGE:
+* https://os.mbed.com/media/uploads/nz/demo-sliders.jpg
+*
+*/
+
 #include "mbed.h"
 #include "FT800.h"
 
 /*
-FT800 TFT(MOSI,MISO, SCK, CS, INT, PD);   */
-FT800 TFT( D11, D12, D13, D10, D9, D8);   // FRDM-K64F
+FT800 TFT(MOSI,MISO,SCLK, CS, INT, PD);   */
+FT800 TFT( D11, D12, D13, D10, D9, D8);   // FRDM-K64F, SPI Initialization
 
 uint32_t color;
 uint8_t r = 64, g = 128, b = 192;