Robert Harrell
/
HelloWorld-HW1
publish test with HW1
Fork of HelloWorld by
main.cpp
- Committer:
- robertwharrell
- Date:
- 2014-02-03
- Revision:
- 2:0ce54f153548
- Parent:
- 0:fb6bbc10ffa0
- Child:
- 3:01c820a84ba3
File content as of revision 2:0ce54f153548:
#include "mbed.h" DigitalOut led0(LED1); DigitalOut led1(LED2); DigitalOut led2(LED3); DigitalOut led3(LED4); int main() { while(1) { for(int count=0; count < 16; count++) { led0 = count & 0x1; led1 = count & 0x2; led2 = count & 0x4; led3 = count & 0x8; wait(1); } } }