updated for mbed-os 5.5
Fork of Task131 by
main.cpp
- Committer:
- noutram
- Date:
- 2019-09-10
- Revision:
- 2:cd62746dce8d
- Parent:
- 0:2c60e38674e4
File content as of revision 2:cd62746dce8d:
#include "mbed.h"
//Create an instance of a Serial object called pc
//Transmit and receive pins have names USBTX and USBRX
Serial pc(USBTX, USBRX);
int main() {
//Set the baud rate property (bits persecond)
pc.baud(9600);
//Call the printf method on pc
pc.printf("Hello World\n");
//Run in an infinite loop
while(1) {
}
}
