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:
17:4f10efd72d9d
Parent:
14:b174ec6e3ca0
Child:
20:3ada4387cc1b
--- a/SeeedStudioTFTv2.cpp	Fri Apr 28 01:53:32 2017 +0000
+++ b/SeeedStudioTFTv2.cpp	Thu Jul 20 19:34:41 2017 +0000
@@ -15,8 +15,11 @@
 
 #include "mbed.h"
 #include "SeeedStudioTFTv2.h"
+//#include "SmoothAnalogIn.h"
 
-//Serial pc(USBTX,USBRX,19200);
+extern Serial pc;
+//SmoothAnalogIn analogY(PIN_YP, .1, 1, 1);
+//SmoothAnalogIn analogX(PIN_XP, .1, 1, 1);
 
 TouchScreen::TouchScreen(PinName xp, PinName xm, PinName yp, PinName ym)
 {
@@ -32,6 +35,7 @@
     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)