ble file test

Dependencies:   mbed-os

Committer:
jiao120
Date:
Tue Sep 25 11:28:59 2018 +0000
Revision:
0:c579010e68af
test printf

Who changed what in which revision?

UserRevisionLine numberNew 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 }