ARM Shanghai IoT Team (Internal) / Mbed 2 deprecated AnalogOutClassDemo_JacobShi

Dependencies:   mbed

Revision:
2:0c7214ae3894
Parent:
0:f739c4adb6ed
Child:
3:8b80a1c145ea
diff -r 082c8dbf298a -r 0c7214ae3894 main.cpp
--- a/main.cpp	Sun Sep 21 19:10:53 2014 +0000
+++ b/main.cpp	Sun Sep 21 19:13:01 2014 +0000
@@ -1,7 +1,8 @@
 #include "mbed.h"
  
 AnalogOut signal(p18);
- 
+
+// ramp up the output in 10% incriments, drop to zero, repeat
 int main() {
     while(1) {
         for(float i=0.0; i<1.0; i+=0.1) {