Updated for FZ429ZI

Fork of Task521 by Nicholas Outram

Files at this revision

API Documentation at this revision

Comitter:
noutram
Date:
Tue Feb 13 12:04:07 2018 +0000
Parent:
1:0cbe46a87778
Child:
3:9d3abae2383d
Commit message:
Updated for FZ429ZI

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jul 13 14:55:37 2017 +0000
+++ b/main.cpp	Tue Feb 13 12:04:07 2018 +0000
@@ -10,7 +10,7 @@
 #define Tmark (R*T)
 #define Tspace ((1.0-R)*T)
 
-DigitalOut onboardLed(LED1);
+DigitalOut onboardLed(LED3);
 DigitalOut redLED(D7);
 
 int main() {
@@ -18,8 +18,10 @@
     
         while (1) {
                 redLED = 0; //Space
+                onboardLed = 0;
                 wait(Tspace);
                 redLED = 1; //Mark
+                onboardLed = 1;
                 wait(Tmark);
         }
 }