Martin Werluschnig / Mbed 2 deprecated mbedAnalogIn

Dependencies:   mbed

Revision:
0:f0bb7332032f
diff -r 000000000000 -r f0bb7332032f mAIn_0.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mAIn_0.cpp	Thu Nov 15 18:04:45 2018 +0000
@@ -0,0 +1,14 @@
+/*#include "mbed.h"
+
+AnalogIn aiPoti1(p19);
+
+int main() {
+    printf("Werte von Poti 1:\r\n");
+    while(1) {
+        printf("\r\nPoti 1 Float-Wert zw. 0.0 und 1.0 = %f\r\n", aiPoti1.read());
+        printf("Spannung am Poti 1 = : %f V\r\n", aiPoti1.read()*3.3);
+        printf("Rohwert am Poti 1 = : %d V\r\n", aiPoti1.read_u16());		
+        wait_ms(500);
+    }
+}
+*/
\ No newline at end of file