summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/hal/keylcd.h
blob: 590c0cb2ef55d974459537691f1a9094a71c0320 (plain)
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
#ifndef _KEYLCD_H_
#define _KEYLCD_H_

#include "i2c.h"
#include "string.h"

#define I2C_KEYLCD 2
#define LCD_CMD_PRINTSTR 0

class KeyLCD 
{
private:
	I2C i2c;
public:
	KeyLCD();
	~KeyLCD();
	
	void print(char* data);
	uint8_t error();
	void clear();	
};

#endif