Testing with Daniel
Dependencies: mbed Blinker TextLCD
main.cpp
- Committer:
- jurgis
- Date:
- 2017-01-07
- Revision:
- 4:62ae68bcaee8
- Parent:
- 3:0432064270e1
- Child:
- 6:d8bc26e7d471
File content as of revision 4:62ae68bcaee8:
// Testing MBED with Daniel #include "mbed.h" #include "Blinker.h" Timer timer; DigitalOut led1(LED1); //DigitalOut greenLed(D8); //DigitalOut redLed(D10); //DigitalIn button(D9); Serial pc(USBTX, USBRX); jj::Blinker blinker1(led1, timer); int main() { timer.start(); pc.baud(115200); pc.printf("Hello world\r\n"); blinker1.blink(200, 1000); for(;;) { blinker1.update(); } }