Lab1-01_pc_communication_lite

Dependencies:   mbed

Committer:
heptasat2021
Date:
Tue Aug 10 01:50:43 2021 +0000
Revision:
0:2f78e9f9540b
Lab1-01_pc_communication_lite

Who changed what in which revision?

UserRevisionLine numberNew contents of line
heptasat2021 0:2f78e9f9540b 1 #include "mbed.h"
heptasat2021 0:2f78e9f9540b 2 Serial pc(USBTX,USBRX,9600);
heptasat2021 0:2f78e9f9540b 3 int main()
heptasat2021 0:2f78e9f9540b 4 {
heptasat2021 0:2f78e9f9540b 5 while (true) {
heptasat2021 0:2f78e9f9540b 6 pc.printf("Hello World!\r\n");
heptasat2021 0:2f78e9f9540b 7 wait_ms(500);
heptasat2021 0:2f78e9f9540b 8 }
heptasat2021 0:2f78e9f9540b 9 }