Works

Dependencies:   BMP180 BNO055_fusion Fonts GPSISR HTU21D SDFileSystem UniGraphic mbed uGUI

Fork of Bicycl_Computer_NUCLEO-F411RE by Darren Ulrich

Revision:
1:e265e7245ab8
Parent:
0:cd5e3d371b54
Child:
2:c5085faf2aa5
diff -r cd5e3d371b54 -r e265e7245ab8 main.cpp
--- 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