Joshua Ullman
/
Nucleo_blink_led
changed to no comment
main.cpp@1:7a1f927db217, 2020-02-19 (annotated)
- Committer:
- jullman21
- Date:
- Wed Feb 19 22:41:58 2020 +0000
- Revision:
- 1:7a1f927db217
- Parent:
- 0:32d72507001e
- Child:
- 2:cb08f13b5e9e
poop;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
karberga | 0:32d72507001e | 1 | #include "mbed.h" |
karberga | 0:32d72507001e | 2 | |
karberga | 0:32d72507001e | 3 | DigitalOut myled(LED1); |
karberga | 0:32d72507001e | 4 | |
karberga | 0:32d72507001e | 5 | int main() { |
karberga | 0:32d72507001e | 6 | while(1) { |
karberga | 0:32d72507001e | 7 | myled = 1; // LED is ON |
karberga | 0:32d72507001e | 8 | wait(0.2); // 200 ms |
jullman21 | 1:7a1f927db217 | 9 | myled = 0; // LED is Poop |
karberga | 0:32d72507001e | 10 | wait(1.0); // 1 sec |
karberga | 0:32d72507001e | 11 | } |
karberga | 0:32d72507001e | 12 | } |