App1_S5
/
APP4_IRQ
APP4 S5
Diff: main.cpp
- Revision:
- 3:6ea97936f6fa
- Parent:
- 0:5999fed1929b
- Child:
- 8:a878763b0ae3
--- a/main.cpp Wed Oct 11 19:14:21 2017 +0000 +++ b/main.cpp Wed Oct 11 20:15:23 2017 +0000 @@ -1,12 +1,14 @@ #include "mbed.h" +#include "radio.h" + DigitalOut myled(LED1); int main() { + init_radio_system(); + while(1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); + myled = !myled; + wait(1); } }