RASHID P
/
mbed_binary_counter
Binary counter from 0000 to 1111
main.cpp
- Committer:
- rashidpkvm
- Date:
- 2019-12-17
- Revision:
- 0:bd48a459a539
File content as of revision 0:bd48a459a539:
#include "mbed.h" BusOut myleds(LED1, LED2, LED3, LED4); int main() { while(1) { for(int i=0; i<16; i++) { //myleds = 1 << i; myleds = i; wait(1); } } }