Blinky for sensor PCB

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
DannyBokma
Date:
Fri Dec 04 00:36:00 2015 +0000
Parent:
9:0d1a88e54782
Commit message:
Blinky on sensor PCB

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 0d1a88e54782 -r 8c9acfcc1a57 main.cpp
--- a/main.cpp	Thu Oct 29 12:28:39 2015 +0000
+++ b/main.cpp	Fri Dec 04 00:36:00 2015 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut myled(PTB0);
 
 int main() {
     while(1) {
         myled = 1;
-        wait(0.2);
+        wait(0.05);
         myled = 0;
-        wait(0.2);
+        wait(0.05);
     }
 }