Jared Walker
/
Final_Project_ECE_4180
ECE 4180
main.cpp@0:088af403d779, 2022-11-21 (annotated)
- Committer:
- jwalker366
- Date:
- Mon Nov 21 19:02:00 2022 +0000
- Revision:
- 0:088af403d779
ECE 4180 Final Project;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jwalker366 | 0:088af403d779 | 1 | #include "mbed.h" |
jwalker366 | 0:088af403d779 | 2 | |
jwalker366 | 0:088af403d779 | 3 | DigitalOut myled(LED1); |
jwalker366 | 0:088af403d779 | 4 | |
jwalker366 | 0:088af403d779 | 5 | int main() { |
jwalker366 | 0:088af403d779 | 6 | while(1) { |
jwalker366 | 0:088af403d779 | 7 | myled = 1; |
jwalker366 | 0:088af403d779 | 8 | wait(0.2); |
jwalker366 | 0:088af403d779 | 9 | myled = 0; |
jwalker366 | 0:088af403d779 | 10 | wait(0.2); |
jwalker366 | 0:088af403d779 | 11 | } |
jwalker366 | 0:088af403d779 | 12 | } |