![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is a LED Demo for linknode
Fork of mbed_blinky by
main.cpp
- Committer:
- helloqi
- Date:
- 2016-04-13
- Revision:
- 10:70f2c2e85c7f
- Parent:
- 4:81cea7a352b0
File content as of revision 10:70f2c2e85c7f:
#include "mbed.h" DigitalOut led_g(P0_19); DigitalOut led_r(P0_18); int main() { while(1) { led_g = 1; led_r = 0; wait(1); led_g = 0; led_r = 1; wait(1); } }