Applied engineering Team / Mbed 2 deprecated VT1_Herek

Dependencies:   mbed

Revision:
0:d2afa897dbc9
Child:
1:bf24c62c6310
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Nov 03 19:44:29 2016 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+int main() {
+AnalogOut Aout(p18);
+while(1) {
+Aout=0.25; // 0.25*3.3V = 0.825V
+wait(0.1);
+Aout=0.5; // 0.5*3.3V = 1.65V
+wait(0.1);
+Aout=0.75; // 0.75*3.3V = 2.475V
+wait(0.1);
+}
+}
\ No newline at end of file