Mirza Mesic
/
mbed_laufshift
laushift
main.cpp
- Committer:
- mirzamesic
- Date:
- 2019-12-02
- Revision:
- 0:874de0b957ec
File content as of revision 0:874de0b957ec:
#include "mbed.h" BusOut myleds(LED1, LED2, LED3, LED4); int main() { while(1) { uint8_t i=0b00010000; for(int a=0;a<5;a++) { i=i>>1; myleds = i; wait(0.25); } } }