Xuanjiao Zhu
/
BLE_file_test
ble file test
main.cpp@0:c579010e68af, 2018-09-25 (annotated)
- Committer:
- jiao120
- Date:
- Tue Sep 25 11:28:59 2018 +0000
- Revision:
- 0:c579010e68af
test printf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jiao120 | 0:c579010e68af | 1 | #include "mbed.h" |
jiao120 | 0:c579010e68af | 2 | |
jiao120 | 0:c579010e68af | 3 | Serial pc(USBTX, USBRX); // tx, rx |
jiao120 | 0:c579010e68af | 4 | |
jiao120 | 0:c579010e68af | 5 | int main(){ |
jiao120 | 0:c579010e68af | 6 | while(1){ |
jiao120 | 0:c579010e68af | 7 | pc.printf("Hello World!\n"); |
jiao120 | 0:c579010e68af | 8 | wait(1); |
jiao120 | 0:c579010e68af | 9 | } |
jiao120 | 0:c579010e68af | 10 | |
jiao120 | 0:c579010e68af | 11 | } |