My first mbed-os 5.x test project with MAX32630FTHR and Adafruit 2.4" TFT with touch.

Dependencies:   BMI160 SPI_STMPE610 USBDevice UniGraphic max32630fthr

My first test program of mbed-os 5.x, using MAX32630FTHR and Adafruit 2.4" TFT with Touch.

On 22-Sep-2017 Monitoring both Acc and Gyr added to the screen 3 Controlling the backlight via STMPE610 GPIO-2 added

Revision:
0:a4d7417f7672
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maze.h	Thu Sep 21 05:16:39 2017 +0000
@@ -0,0 +1,36 @@
+#ifndef _MAZE_H_
+#define _MAZE_H_ defined
+
+#define MAZE_W 20
+#define MAZE_H 20
+
+#define POS_PATH  0
+#define POS_WALL  1
+#define POS_START 2
+#define POS_GOAL  3
+
+uint8_t maze[MAZE_H][MAZE_W] = {
+ {1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
+ {1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
+ {1,0,1,0,1,0,1,1,1,1,0,1,1,1,1,1,1,1,0,1},
+ {1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,0,1},
+ {1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,1,0,1},
+ {1,0,0,0,1,0,1,0,1,0,0,0,0,0,1,0,1,1,0,1},
+ {1,0,1,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1},
+ {1,0,1,0,0,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1},
+ {1,0,1,0,1,1,1,0,0,1,0,1,0,1,0,1,1,1,0,1},
+ {1,0,1,0,1,1,1,1,1,1,0,1,0,1,0,0,0,1,0,1},
+ {1,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,1,0,1},
+ {1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1},
+ {1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1},
+ {1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1},
+ {1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1},
+ {1,0,1,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1},
+ {1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1},
+ {1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1},
+ {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1},
+ {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1}
+} ;      
+
+extern void doMaze(void) ;
+#endif // _MAZE_H_
\ No newline at end of file