Mert Us Matthew Hannay Logan Starr
Dependencies: mbed 4DGL-uLCD-SE
main.cpp@0:d16cc59110a3, 2022-11-07 (annotated)
- Committer:
- mus3
- Date:
- Mon Nov 07 20:43:45 2022 +0000
- Revision:
- 0:d16cc59110a3
- Child:
- 1:cd78922f70fa
ece 4180 final proj
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mus3 | 0:d16cc59110a3 | 1 | #include "mbed.h" |
mus3 | 0:d16cc59110a3 | 2 | |
mus3 | 0:d16cc59110a3 | 3 | DigitalOut myled(LED1); |
mus3 | 0:d16cc59110a3 | 4 | |
mus3 | 0:d16cc59110a3 | 5 | int main() { |
mus3 | 0:d16cc59110a3 | 6 | while(1) { |
mus3 | 0:d16cc59110a3 | 7 | myled = 1; |
mus3 | 0:d16cc59110a3 | 8 | wait(0.2); |
mus3 | 0:d16cc59110a3 | 9 | myled = 0; |
mus3 | 0:d16cc59110a3 | 10 | wait(0.2); |
mus3 | 0:d16cc59110a3 | 11 | } |
mus3 | 0:d16cc59110a3 | 12 | } |