Switches 2.0

Dependencies:   mbed QEI HIDScope BiQuad4th_order biquadFilter MODSERIAL FastPWM

main.cpp

Committer:
RobertoO
Date:
2019-09-04
Revision:
1:b862262a9d14
Parent:
0:67c50348f842
Child:
2:96e093a48314

File content as of revision 1:b862262a9d14:

#include "mbed.h"
//#include "HIDScope.h"
//#include "QEI.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) {
        
        led = !led;
        
        wait_ms(500);
    }
}