diff options
author | sicarius <devnull@localhost> | 2007-02-11 20:03:00 +0100 |
---|---|---|
committer | sicarius <devnull@localhost> | 2007-02-11 20:03:00 +0100 |
commit | 05c8b0af602b222d00c227560682158333b726a2 (patch) | |
tree | 98a7eaa96222097b9d74343b37447820f9250efc /source/AVR_Studio/Soccer/hal/keylcd.h | |
parent | 1a6b28b1c2a68cfccbe8f4ed9866aadf88db7085 (diff) | |
download | rc2007-soccer-05c8b0af602b222d00c227560682158333b726a2.tar rc2007-soccer-05c8b0af602b222d00c227560682158333b726a2.zip |
Added lot's of code-files used during work
Diffstat (limited to 'source/AVR_Studio/Soccer/hal/keylcd.h')
-rwxr-xr-x | source/AVR_Studio/Soccer/hal/keylcd.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/AVR_Studio/Soccer/hal/keylcd.h b/source/AVR_Studio/Soccer/hal/keylcd.h new file mode 100755 index 0000000..590c0cb --- /dev/null +++ b/source/AVR_Studio/Soccer/hal/keylcd.h @@ -0,0 +1,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
+
+
|