![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Laboratoire APP3
Dependencies: mbed
main.cpp@0:638b592ccbf5, 2017-02-08 (annotated)
- Committer:
- benjaminroy
- Date:
- Wed Feb 08 18:41:36 2017 +0000
- Revision:
- 0:638b592ccbf5
- Child:
- 1:333619c7ac99
Initial commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benjaminroy | 0:638b592ccbf5 | 1 | #include "mbed.h" |
benjaminroy | 0:638b592ccbf5 | 2 | |
benjaminroy | 0:638b592ccbf5 | 3 | DigitalOut myled(LED1); |
benjaminroy | 0:638b592ccbf5 | 4 | |
benjaminroy | 0:638b592ccbf5 | 5 | int main() { |
benjaminroy | 0:638b592ccbf5 | 6 | while(1) { |
benjaminroy | 0:638b592ccbf5 | 7 | myled = 1; |
benjaminroy | 0:638b592ccbf5 | 8 | wait(0.2); |
benjaminroy | 0:638b592ccbf5 | 9 | myled = 0; |
benjaminroy | 0:638b592ccbf5 | 10 | wait(0.2); |
benjaminroy | 0:638b592ccbf5 | 11 | } |
benjaminroy | 0:638b592ccbf5 | 12 | } |