firmware of NBCTRLV1 / AYC01

Dependencies:   SDFileSystemEx mbed

Revision:
0:722cc5360dc3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lcd.h	Mon Feb 08 05:49:26 2016 +0000
@@ -0,0 +1,27 @@
+#ifndef __LCD_H__
+#define __LCD_H__
+
+#include "mbed.h"
+
+class LCD {
+public:
+    LCD();
+
+    void printStr(const char *s);
+    void setContrast(unsigned char c);
+    void setCursor(unsigned char x,unsigned char y);
+    void cls(void);
+    void init(void);
+    void printStr2(const char *s, const char *s2);
+    void printStrY(int y,const char *s);
+    void printStrYscr(int y,const char *s);
+
+protected:
+    void cmd(char x);
+    void contdata(char x);
+    void lastdata(char x);
+    void printStrFill(const char *s);
+    I2C *i2c;
+};
+
+#endif