
Binary Counter on 4 Relè digit of Experiment BOX with Arduino
Fork of BusOut_HelloWorld by
main.cpp@2:3e552c5d3ea4, 2014-10-18 (annotated)
- Committer:
- Polisenno
- Date:
- Sat Oct 18 07:08:07 2014 +0000
- Revision:
- 2:3e552c5d3ea4
- Parent:
- 0:717993c337df
Binary Counter on 4 Rel? digit of Experiment BOX with Arduino
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 0:717993c337df | 1 | #include "mbed.h" |
mbed_official | 0:717993c337df | 2 | |
Polisenno | 2:3e552c5d3ea4 | 3 | BusOut myleds(D13, D4, D7, D8); |
mbed_official | 0:717993c337df | 4 | |
mbed_official | 0:717993c337df | 5 | int main() { |
mbed_official | 0:717993c337df | 6 | while(1) { |
mbed_official | 0:717993c337df | 7 | for(int i=0; i<16; i++) { |
mbed_official | 0:717993c337df | 8 | myleds = i; |
mbed_official | 0:717993c337df | 9 | wait(0.25); |
mbed_official | 0:717993c337df | 10 | } |
mbed_official | 0:717993c337df | 11 | } |
mbed_official | 0:717993c337df | 12 | } |