
Task 3.3.1
Dependencies: mbed
main.cpp@0:f2ac5564a731, 2015-09-24 (annotated)
- Committer:
- noutram
- Date:
- Thu Sep 24 12:25:56 2015 +0000
- Revision:
- 0:f2ac5564a731
Initial version 24-09-2015
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
noutram | 0:f2ac5564a731 | 1 | #include "mbed.h" |
noutram | 0:f2ac5564a731 | 2 | |
noutram | 0:f2ac5564a731 | 3 | //lsb first |
noutram | 0:f2ac5564a731 | 4 | BusOut binaryOutput(D5, D6, D7); |
noutram | 0:f2ac5564a731 | 5 | |
noutram | 0:f2ac5564a731 | 6 | int main() { |
noutram | 0:f2ac5564a731 | 7 | |
noutram | 0:f2ac5564a731 | 8 | //Try different values |
noutram | 0:f2ac5564a731 | 9 | binaryOutput = 3; |
noutram | 0:f2ac5564a731 | 10 | |
noutram | 0:f2ac5564a731 | 11 | while (1) { } |
noutram | 0:f2ac5564a731 | 12 | } |