USB serial demo passes data from virtual serial port to debug serial port
Dependencies: USBDevice max32630hsp3
Run the Code
- Import it into the mbed online compiler.
- Compile the program.
- It will automatically download the .bin file.
- Drag-drop or copy-paste the .bin file to the programmer drive. (PICO DAPLINK).
- Open a serial terminal (Putty, Tera Term, etc.)
- Find the COM port that the device is connected to and set that COM port in the terminal. Adjust the baudrate to 9600.
- Press the reset button on the microcontroller board. Now you should see another COM port on the device manager
- You should now see the temperature values on the terminal with 0.5-second intervals.
mbed-os.lib@1:138f024f15f6, 2018-04-24 (annotated)
- Committer:
- Emre.Eken
- Date:
- Tue Apr 24 15:17:30 2018 +0300
- Revision:
- 1:138f024f15f6
- Child:
- 4:00136669e20b
First revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Emre.Eken | 1:138f024f15f6 | 1 | https://github.com/ARMmbed/mbed-os/#b033a6e42ea0cda09d6a8d8650ecbfe3b2b5cac9 |