24.11.2016.

Dependencies:   TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
kgrdosic
Date:
Thu Nov 24 18:19:23 2016 +0000
Commit message:
VT$_Grdosic

Changed in this revision

TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 08127559c5bd TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Thu Nov 24 18:19:23 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/wim/code/TextLCD/#111ca62e8a59
diff -r 000000000000 -r 08127559c5bd main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Nov 24 18:19:23 2016 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "TextLCD.h"
+TextLCD lcd(p19, p20, p21, p22, p23, p24,TextLCD::LCD8x2);
+AnalogIn Ain(p17);
+int percentage;
+int main()
+{
+    while(1) {
+        percentage=Ain*100;
+        lcd.printf("%i",percentage);
+        wait(2);
+        lcd.cls();
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 08127559c5bd mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Nov 24 18:19:23 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb
\ No newline at end of file