Alain Pegatoquet
/
_er1_test_vcs
Programme de test pour LPC1768 (affichage de LED avec tempo)
main.cpp
- Committer:
- alainpegatoquet
- Date:
- 2017-09-04
- Revision:
- 1:9ef8f1f1261d
- Parent:
- 0:4f83d63af624
- Child:
- 2:48ae4b9e8cd8
- Child:
- 3:412b0e9270ee
File content as of revision 1:9ef8f1f1261d:
#include "mbed.h" #include "const.h" DigitalOut myled(LED1); DigitalOut myled1(LED2); int main() { while(1) { myled1 = 1; myled2 = 0; wait(TEMPO1); myled1 = 0; myled2 = 1; wait(TEMPO2); } }