Test for (F29) for TIS
main.cpp@0:89700c8c5893, 2017-12-19 (annotated)
- Committer:
- noutram
- Date:
- Tue Dec 19 10:16:00 2017 +0000
- Revision:
- 0:89700c8c5893
- Child:
- 1:67c50fe38b5d
Test code for TIS packaging (F401)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| noutram | 0:89700c8c5893 | 1 | #include "mbed.h" |
| noutram | 0:89700c8c5893 | 2 | |
| noutram | 0:89700c8c5893 | 3 | DigitalOut led1(LED1); |
| noutram | 0:89700c8c5893 | 4 | |
| noutram | 0:89700c8c5893 | 5 | // main() runs in its own thread in the OS |
| noutram | 0:89700c8c5893 | 6 | int main() { |
| noutram | 0:89700c8c5893 | 7 | while (true) { |
| noutram | 0:89700c8c5893 | 8 | led1 = !led1; |
| noutram | 0:89700c8c5893 | 9 | wait(0.5); |
| noutram | 0:89700c8c5893 | 10 | } |
| noutram | 0:89700c8c5893 | 11 | } |
| noutram | 0:89700c8c5893 | 12 |
Nicholas Outram