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 Motoo Tanaka

/media/uploads/trevieze/win_20170427_21_31_20_pro.jpg

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.

Revision:
20:3ada4387cc1b
Parent:
18:50520438c129
Child:
21:39ef2fd5c4bf
--- a/SeeedStudioTFTv2.cpp	Fri Aug 04 20:12:07 2017 +0000
+++ b/SeeedStudioTFTv2.cpp	Wed May 16 13:25:59 2018 +0000
@@ -15,11 +15,8 @@
 
 #include "mbed.h"
 #include "SeeedStudioTFTv2.h"
-//#include "SmoothAnalogIn.h"
 
-extern Serial pc;
-//SmoothAnalogIn analogY(PIN_YP, .1, 1, 1);
-//SmoothAnalogIn analogX(PIN_XP, .1, 1, 1);
+//Serial pc(USBTX,USBRX,19200);
 
 TouchScreen::TouchScreen(PinName xp, PinName xm, PinName yp, PinName ym)
 {
@@ -35,7 +32,6 @@
     y_off =  22000;  //  22330 105819  97167  22000
     pp_tx =   -291;  //    378    289   -390   -291
     pp_ty =    356;  //    261   -355   -239    356
-    
 }
 
 int TouchScreen::readTouch(PinName p, PinName m, PinName a, PinName i)