10.10.2014

Dependencies:   C12832_lcd mbed

Files at this revision

API Documentation at this revision

Comitter:
fgroepper
Date:
Fri Oct 10 09:47:44 2014 +0000
Commit message:
10.10.2014

Changed in this revision

C12832_lcd.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 2a3584b2fbac C12832_lcd.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832_lcd.lib	Fri Oct 10 09:47:44 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/atthackathon/code/C12832_lcd/#3e64ca073642
diff -r 000000000000 -r 2a3584b2fbac main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Oct 10 09:47:44 2014 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "C12832_lcd.h"
+
+AnalogIn input(p19);
+int x;
+// LCD and Joystick Setting
+C12832_LCD lcd;
+int main() {
+        lcd.cls();
+        lcd.locate(0,0);
+        lcd.printf("Potiwert"); 
+    while(1) {
+        x = input.read_u16();
+       
+        lcd.locate(0,15);
+        lcd.printf ("%i", x);
+        lcd.printf("      ");    
+        wait(0.2);
+        }
+    }
\ No newline at end of file
diff -r 000000000000 -r 2a3584b2fbac mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Oct 10 09:47:44 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file