Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mlab4
Date:
Fri Apr 22 19:52:58 2011 +0000
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Apr 22 19:52:58 2011 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+PwmOut vib(p21);
+
+int main() {
+    vib.period_ms(1);
+    while (1) {
+        for(float i=0.0; i<1.0; i+=0.0001) {
+            operator= i;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Apr 22 19:52:58 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912