![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
M0_Übung_2a
Fork of M0_Lektion02a by
main.cpp
- Committer:
- StefanSeebacher
- Date:
- 2016-04-21
- Revision:
- 4:9208830e5b93
- Parent:
- 3:16e96c49e1af
File content as of revision 4:9208830e5b93:
#include "mbed.h" // **** DEFINITIONEN **** DigitalOut LedD1 (P1_8); DigitalOut LedD2 (P1_9); DigitalOut LedD3 (P1_10); DigitalOut LedD4 (P1_11); // **** HAUPTPROGRAMM **** int main() { while(1) { LedD1=1; wait(0.4); LedD1=0; LedD2=1; wait (0.4); LedD2=0; LedD3=1; wait (0.4); LedD3=0; LedD4=1; wait (0.4); LedD4=0; wait (0.4); //Zürick LedD4=1; wait (0.4); LedD4=0; LedD3=1; wait (0.4); LedD3=0; LedD2=1; wait (0.4); LedD2=0; LedD1=1; wait (0.4); LedD1=0; wait (0.4); } } // **** ENDE ****