Jenny Plunkett
/
jenny-test
This is a test
main.cpp@1:ac617c2d1c1c, 2018-08-20 (annotated)
- Committer:
- jplunkett
- Date:
- Mon Aug 20 17:37:53 2018 +0000
- Revision:
- 1:ac617c2d1c1c
- Parent:
- 0:2e6c56c29340
- Child:
- 2:391f8ed1f54c
Test commit 1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jplunkett | 0:2e6c56c29340 | 1 | #include "mbed.h" |
jplunkett | 0:2e6c56c29340 | 2 | |
jplunkett | 0:2e6c56c29340 | 3 | DigitalOut led1(LED1); |
jplunkett | 0:2e6c56c29340 | 4 | |
jplunkett | 1:ac617c2d1c1c | 5 | // Adding information for test commit |
jplunkett | 1:ac617c2d1c1c | 6 | |
jplunkett | 0:2e6c56c29340 | 7 | // main() runs in its own thread in the OS |
jplunkett | 0:2e6c56c29340 | 8 | int main() { |
jplunkett | 0:2e6c56c29340 | 9 | while (true) { |
jplunkett | 0:2e6c56c29340 | 10 | led1 = !led1; |
jplunkett | 0:2e6c56c29340 | 11 | wait(0.5); |
jplunkett | 0:2e6c56c29340 | 12 | } |
jplunkett | 0:2e6c56c29340 | 13 | } |