Works

Dependencies:   BMP180 BNO055_fusion Fonts GPSISR HTU21D SDFileSystem UniGraphic mbed uGUI

Fork of Bicycl_Computer_NUCLEO-F411RE by Darren Ulrich

Files at this revision

API Documentation at this revision

Comitter:
trevieze
Date:
Fri May 25 14:25:01 2018 +0000
Parent:
15:b174ec6e3ca0
Commit message:
Works

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r b174ec6e3ca0 -r e81bd672196b main.cpp
--- a/main.cpp	Wed Apr 12 20:30:06 2017 +0000
+++ b/main.cpp	Fri May 25 14:25:01 2018 +0000
@@ -101,10 +101,10 @@
 // Display
 ILI9341 TFT(SPI_8, 20000000, 
     PIN_MOSI_SPI1, PIN_MISO_SPI1,  PIN_SCLK_SPI1, 
-    PIN_CS_SPI1, PIN_RESET_TFT, PIN_DC_TFT, "Adafruit2.8") ;
+    PIN_CS_SPI1, PIN_RESET_TFT, PIN_DC_TFT, "Adafruit2.8");
     
 // TouchScreen
-TouchScreen TSC(PIN_XP, PIN_XM, PIN_YP, PIN_YM);
+TouchScreen TOUCH(PIN_XP, PIN_XM, PIN_YP, PIN_YM);
 
 // 3 Axis IMU
 BNO055 imu(I2C_SDA, I2C_SCL, PIN_RESET);  // Reset =D7, addr = BNO055_G_CHIP_ADDR, mode = MODE_NDOF <- as default
@@ -543,7 +543,7 @@
 
 void cb1(void) { 
     point p;
-    TSC.getTouch(p);
+    TOUCH.getTouch(p);
         if (p.z > __PRESURE)
         {
             UG_TouchUpdate ( p.x, p.y, TOUCH_STATE_PRESSED ) ;
diff -r b174ec6e3ca0 -r e81bd672196b mbed.bld
--- a/mbed.bld	Wed Apr 12 20:30:06 2017 +0000
+++ b/mbed.bld	Fri May 25 14:25:01 2018 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/ef9c61f8c49f
\ No newline at end of file
+https://mbed.org/users/mbed_official/code/mbed/builds/86740a56073b
\ No newline at end of file