Switches 2.0

Dependencies:   mbed QEI HIDScope BiQuad4th_order biquadFilter MODSERIAL FastPWM

Revision:
1:b862262a9d14
Parent:
0:67c50348f842
Child:
2:96e093a48314
--- a/main.cpp	Fri Aug 30 10:18:40 2019 +0000
+++ b/main.cpp	Wed Sep 04 15:30:13 2019 +0000
@@ -1,19 +1,22 @@
 #include "mbed.h"
 //#include "HIDScope.h"
 //#include "QEI.h"
-//#include "MODSERIAL.h"
+#include "MODSERIAL.h"
 //#include "BiQuad.h"
+//#include "FastPWM.h"
 
 DigitalOut led(LED_RED);
 
+MODSERIAL pc(USBTX, USBRX);
 
 int main()
 {
     pc.baud(115200);
+    pc.printf("\r\nStarting...\r\n\r\n");
     
     while (true) {
         
-        led1 = !led1;
+        led = !led;
         
         wait_ms(500);
     }