test
Dependencies: mbed
main.cpp@1:45bc55587c9c, 2018-01-23 (annotated)
- Committer:
- RFisers123
- Date:
- Tue Jan 23 13:36:16 2018 +0000
- Revision:
- 1:45bc55587c9c
- Parent:
- 0:9c31c7852e87
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
raduschirila | 0:9c31c7852e87 | 1 | #include "mbed.h" |
raduschirila | 0:9c31c7852e87 | 2 | |
raduschirila | 0:9c31c7852e87 | 3 | DigitalOut myled(LED1); |
raduschirila | 0:9c31c7852e87 | 4 | |
raduschirila | 0:9c31c7852e87 | 5 | int main() { |
raduschirila | 0:9c31c7852e87 | 6 | while(1) { |
raduschirila | 0:9c31c7852e87 | 7 | myled = 1; |
RFisers123 | 1:45bc55587c9c | 8 | wait(0.1); |
raduschirila | 0:9c31c7852e87 | 9 | myled = 0; |
RFisers123 | 1:45bc55587c9c | 10 | wait(0.1); |
raduschirila | 0:9c31c7852e87 | 11 | } |
raduschirila | 0:9c31c7852e87 | 12 | } |