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.
Revision 4:00136669e20b, committed 2018-07-09
- Comitter:
- Emre.Eken
- Date:
- Mon Jul 09 17:10:15 2018 +0300
- Parent:
- 3:fe12fc83084f
- Commit message:
- mbed-os.lib revision is changed
Changed in this revision
mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r fe12fc83084f -r 00136669e20b mbed-os.lib --- a/mbed-os.lib Wed Apr 25 11:44:53 2018 +0300 +++ b/mbed-os.lib Mon Jul 09 17:10:15 2018 +0300 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#b033a6e42ea0cda09d6a8d8650ecbfe3b2b5cac9 +https://github.com/ARMmbed/mbed-os/#78474a5129e18e136cc7e872adbaa5b74fbb8f6a