bosko lekovic
/
mbed_blinky_22
test_22
main.cpp@25:1287a26719d2, 2021-12-26 (annotated)
- Committer:
- bosko001
- Date:
- Sun Dec 26 21:08:20 2021 +0000
- Revision:
- 25:1287a26719d2
- Parent:
- 24:7f14b70fc9ef
prvi_22
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
dan | 0:7dec7e9ac085 | 3 | DigitalOut myled(LED1); |
dan | 0:7dec7e9ac085 | 4 | |
dan | 0:7dec7e9ac085 | 5 | int main() { |
dan | 0:7dec7e9ac085 | 6 | while(1) { |
dan | 0:7dec7e9ac085 | 7 | myled = 1; |
bosko001 | 25:1287a26719d2 | 8 | wait(0.5); |
dan | 0:7dec7e9ac085 | 9 | myled = 0; |
bosko001 | 25:1287a26719d2 | 10 | wait(0.5); |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |