Alejandro Zamudio
/
Manejando_puerto
Secuencia de Leds
main.cpp
- Committer:
- AlejandroZamudio
- Date:
- 2016-06-13
- Revision:
- 0:6959bae645fd
File content as of revision 0:6959bae645fd:
#include "mbed.h" PortOut Leds1(PortB,0X0F); PortOut Leds2(PortB,0XF0); int main() { while(1) { Leds1 = 255; wait(0.5); Leds1 = 0; Leds2 = 255; wait(0.5); Leds2 = 0; wait(0.5); } }