![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
preende focos
Diff: main.cpp
- Revision:
- 0:2f08c2dda52a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 02 16:36:04 2013 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" + +PwmOut rled(LED_RED); +PwmOut gled(LED_GREEN); +PwmOut bled(LED_BLUE); + +int main() +{ + +while(1) +{ +rled = 1; +gled = 0.5; +bled = 0; +wait(1); + +rled = 0.5; +gled = 1; +bled = 0; +wait(1); +} + +} \ No newline at end of file