1.1
Dependencies: mbed
main.cpp@0:0aee8e0d3b69, 2017-09-12 (annotated)
- Committer:
- olemh88
- Date:
- Tue Sep 12 10:50:03 2017 +0000
- Revision:
- 0:0aee8e0d3b69
?ving 3 1.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
olemh88 | 0:0aee8e0d3b69 | 1 | #include "mbed.h" |
olemh88 | 0:0aee8e0d3b69 | 2 | Serial pc(USBTX, USBRX); |
olemh88 | 0:0aee8e0d3b69 | 3 | BusOut teller(p21, p22, p23, p24, p25, p26); |
olemh88 | 0:0aee8e0d3b69 | 4 | |
olemh88 | 0:0aee8e0d3b69 | 5 | int main() |
olemh88 | 0:0aee8e0d3b69 | 6 | { |
olemh88 | 0:0aee8e0d3b69 | 7 | while(1) { |
olemh88 | 0:0aee8e0d3b69 | 8 | for(int x = 0; x < 63; x++) { |
olemh88 | 0:0aee8e0d3b69 | 9 | teller = x; |
olemh88 | 0:0aee8e0d3b69 | 10 | wait(0.1); |
olemh88 | 0:0aee8e0d3b69 | 11 | } |
olemh88 | 0:0aee8e0d3b69 | 12 | } |
olemh88 | 0:0aee8e0d3b69 | 13 | } |