Ro Led / Mbed 2 deprecated Nucleo_DHT11_Sensor_Example

Dependencies:   mbed

Fork of DHT11_with_Nucleo by Adatgy2014

Files at this revision

API Documentation at this revision

Comitter:
kaliczp
Date:
Mon Jan 05 22:31:03 2015 +0000
Child:
1:c0c5b5860aa8
Commit message:
Initial revision from blink led

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	Mon Jan 05 22:31:03 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    while(1) {
+        myled = 1; // LED is ON
+        wait(0.2); // 200 ms
+        myled = 0; // LED is OFF
+        wait(1.0); // 1 sec
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Jan 05 22:31:03 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5
\ No newline at end of file