Library for Matrix Orbital VFD2041 display. Also useable for LCD2041 modules.

Files at this revision

API Documentation at this revision

Comitter:
wsalis01
Date:
Mon Mar 05 03:55:14 2012 +0000
Parent:
0:f0e9065504cd
Child:
2:b170a67a8dae
Commit message:
Initial Library Publish.

Changed in this revision

VFD.cpp Show annotated file Show diff for this revision Revisions of this file
VFD.h Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- a/VFD.cpp	Mon Mar 05 03:42:10 2012 +0000
+++ b/VFD.cpp	Mon Mar 05 03:55:14 2012 +0000
@@ -16,7 +16,7 @@
     return write(cmd, length);
 }
 
-int VFD::print(char * msg) {
+int VFD::print(string msg) {
     int len = msg.size();
     char * cmd = new char(len);
     memcpy(cmd, msg.data(), len);
--- a/VFD.h	Mon Mar 05 03:42:10 2012 +0000
+++ b/VFD.h	Mon Mar 05 03:55:14 2012 +0000
@@ -21,7 +21,7 @@
     VFD();
     ~VFD();
     int init();
-    int print(const string msg);
+    int print(string msg);
     int autoScrollOn();
     int autoScrollOff();
     int lineWrapOn();
--- a/mbed.bld	Mon Mar 05 03:42:10 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/4c0c40fd0593