Jenny Plunkett
/
jenny-test
This is a test
main.cpp@2:391f8ed1f54c, 2018-08-20 (annotated)
- Committer:
- jplunkett
- Date:
- Mon Aug 20 17:38:06 2018 +0000
- Revision:
- 2:391f8ed1f54c
- Parent:
- 1:ac617c2d1c1c
Test commit 2
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 | 2:391f8ed1f54c | 6 | // Adding information for test commit 2 |
jplunkett | 1:ac617c2d1c1c | 7 | |
jplunkett | 0:2e6c56c29340 | 8 | // main() runs in its own thread in the OS |
jplunkett | 0:2e6c56c29340 | 9 | int main() { |
jplunkett | 0:2e6c56c29340 | 10 | while (true) { |
jplunkett | 0:2e6c56c29340 | 11 | led1 = !led1; |
jplunkett | 0:2e6c56c29340 | 12 | wait(0.5); |
jplunkett | 0:2e6c56c29340 | 13 | } |
jplunkett | 0:2e6c56c29340 | 14 | } |