Supergeniene på bakerste rad / Mbed 2 deprecated Lab06_Oppg5

Dependencies:   mbed

Revision:
0:b2e3a31ff234
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 08 16:20:25 2015 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+
+DigitalOut Vcc(PA_0);
+AnalogIn aInn(PA_1);
+DigitalOut Gnd(PA_4);
+AnalogOut aOut(PA_5);
+
+int main() 
+{   
+    Vcc=1;
+    Gnd=0;
+
+    while(1)
+    {
+    
+   
+    aOut= aInn;
+    }
+}