Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- 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) {