Vjezba 2 iz PURSA.
Dependencies: mbed
standardLED_RED_GREEN.cpp
- Committer:
- JosipLupinski
- Date:
- 2016-10-26
- Revision:
- 0:0f35d76ae855
File content as of revision 0:0f35d76ae855:
#include "mbed.h" DigitalOut green(p5); DigitalOut red(p6); int main() { while(true) { green = 1; red = 0; wait(0.5); green = 0; red = 1; wait(0.5); } }