ST7920 based Chinese LCD driver

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
zhangyx
Date:
Sat Jul 22 04:17:18 2017 +0000
Parent:
0:7749526f3bdf
Commit message:
link to text2hex converter

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7749526f3bdf -r 426eea211d41 main.cpp
--- a/main.cpp	Sat Jul 22 04:09:51 2017 +0000
+++ b/main.cpp	Sat Jul 22 04:17:18 2017 +0000
@@ -3,6 +3,7 @@
 int main() {
     ChnLCD12864 lcd(D11,D10,D12); // sid(RW), sck(E), cs(RS)
     
+    //Text to HEX converter: https://www.streamlet.org/tool/str2hex/
     lcd.printf("\xC4\xE3\xBA\xC3\xCA\xC0\xBD\xE7!123456789abcd");
     wait_ms(1000); //等待1秒
     lcd.cls(); //清屏