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