-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlcd.h
76 lines (61 loc) · 807 Bytes
/
lcd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#ifndef LCD_H_
#define LCD_H_
#include "drivers/mss_uart/mss_uart.h"
#include <inttypes.h>
struct Cursor {
uint8_t x;
uint8_t y;
};
enum OPTION {
GLOVE_CONTROL = 0,
HIGH_FIVE = 1,
FIST_BUMP = 2,
COUNT_TO_FIVE = 3,
ROCK_PAPER_SCISSORS = 4,
PEACE = 5,
THUMBS_UP_DOWN = 6,
HORNS = 7,
OK = 8,
JOYSTICK = 9
};
/*
*
*/
void lcdInit();
/*
*
*/
void lcdClearScreen();
/*
*
*/
void lcdMoveCursorTo(uint8_t row, uint8_t col);
/*
*
*/
void lcdWriteMessage(const char message[]);
/*
*
*/
uint8_t lcdGetCursorX();
/*
*
*/
uint8_t lcdGetCursorY();
/*
*
*/
void lcdNextOption();
/*
*
*/
void lcdSameOption();
/*
*
*/
enum OPTION lcdGetCurrentOption();
/*
*
*/
//void lcdSetSplashScreen();
#endif /* LCD_H_ */