test
Dependencies: mbed
main.cpp@0:b4c8a3ab855f, 2018-11-07 (annotated)
- Committer:
- SES01
- Date:
- Wed Nov 07 08:27:23 2018 +0000
- Revision:
- 0:b4c8a3ab855f
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SES01 | 0:b4c8a3ab855f | 1 | #include "mbed.h" |
SES01 | 0:b4c8a3ab855f | 2 | |
SES01 | 0:b4c8a3ab855f | 3 | DigitalOut myled(LED1); |
SES01 | 0:b4c8a3ab855f | 4 | Serial pc(USBTX, USBRX); |
SES01 | 0:b4c8a3ab855f | 5 | |
SES01 | 0:b4c8a3ab855f | 6 | int main() { |
SES01 | 0:b4c8a3ab855f | 7 | while(1) { |
SES01 | 0:b4c8a3ab855f | 8 | pc.printf("test\r\n"); |
SES01 | 0:b4c8a3ab855f | 9 | } |
SES01 | 0:b4c8a3ab855f | 10 | } |