Sample TFT to KL25Z program.

Dependencies:   SPI_STMPE610 TFT_fonts UniGraphic mbed

Fork of TFT_test_frdm-kl25z by Motoo Tanaka

Revision:
3:34d8706e1614
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maze.h	Sat Aug 08 12:07:56 2015 +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