LCD implementation of our project.
Dependencies: mbed mbed-rtos MLX90614
Diff: Item.h
- Revision:
- 6:49a007861c76
- Parent:
- 5:5b1a8ad6c187
- Child:
- 7:11675c1dce4f
--- a/Item.h Thu May 28 16:07:00 2015 +0000 +++ b/Item.h Sat May 30 14:58:44 2015 +0000 @@ -3,12 +3,20 @@ #include "st7565LCD.h" #include "rtos.h" + +//screen configuration #define LEFT_MARGIN 5 #define DEFAULT_COLOR 20 #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 64 +//control macros +#define NL 121 //select - y +#define UP 119 //up - w +#define DOWN 115 //down - s + +//threading macros #define START_THREAD 1 #define PAUSE_THREAD 2