This is a fork of a functional ILI9341 display with a functional Seeed touch screen library.
Dependencies: BMP180 UniGraphic mbed BNO055_fusionI_fixed HTU21D GPSISR Compass Fonts uGUI
Fork of TFT_test_NUCLEO-F411RE by
Had to move sensors to a remote board because of interference. Added spi burst mode to supported displays.
To do.... ugui buttons are slow. will need to add rtos to project. Finish other way points screen. Will have to rewrite portions of the touch screen class. Sense touch, delay, read values and then average, touch released, is the sequence. Add cadence input and logic to program for computer screen.
Diff: main.cpp
- Revision:
- 1:e265e7245ab8
- Parent:
- 0:cd5e3d371b54
- Child:
- 2:c5085faf2aa5
--- a/main.cpp Thu Nov 19 13:34:57 2015 +0000 +++ b/main.cpp Thu Dec 15 19:49:36 2016 +0000 @@ -28,6 +28,7 @@ #include "Arial28x28.h" #include "Arial43x48_numb.h" +/* #define PIN_MOSI PA_7 #define PIN_MISO PA_6 #define PIN_SCLK PA_5 @@ -35,9 +36,23 @@ #define PIN_DC_TFT PC_7 #define PIN_BL_TFT PA_8 #define PIN_CS_SD PB_5 +*/ #define PIN_CS_TSC PA_9 #define PIN_TSC_INTR PA_8 #define PIN_RESET_TFT PC_13 /* place holder */ + +#define PIN_XP A3 +#define PIN_XM A1 +#define PIN_YP A2 +#define PIN_YM A0 +#define PIN_MOSI D11 +#define PIN_MISO D12 +#define PIN_SCLK D13 +#define PIN_CS_TFT D5 +#define PIN_DC_TFT D6 +#define PIN_BL_TFT D7 +#define PIN_CS_SD D4 + #define DEVICE_NAME "F411RE" #ifndef TARGET_NECLEO_F411RE