Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL

Dependencies:   mbed

Revision:
53:004a9674e922
Parent:
52:2b3b194144da
--- a/src/main.cpp	Thu Mar 14 00:21:35 2019 +0000
+++ b/src/main.cpp	Thu Mar 14 03:22:23 2019 +0000
@@ -114,8 +114,8 @@
     
     initOut();
     
-    slowClk.attach(&slowFlip, 2.5);
-    fastClk.attach(&fastFlip, 1.0);
+    slowClk.attach_us(&slowFlip, CLK_SLOW);
+    fastClk.attach_us(&fastFlip, CLK_FAST);
     ILR_enable.rise(&ILR);
 
     running = FALSE;
@@ -204,6 +204,7 @@
                  updateMasterControls(my12);
              }
           }
+          numFast = 36;
       }
     }//end while(1)
 }//end void main(void)
\ No newline at end of file