Maxim Integrated / Mbed OS MAX32630HSP3_IMU_Hello_World

Dependencies:   MAX30205 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.
  • You should now see the temperature values on the terminal with 0.5-second intervals.
Revision:
2:88d3b848b5a4
Parent:
0:5ff3e9115682
Child:
3:73a73c9ba847
--- a/main.cpp	Thu Apr 19 20:40:58 2018 +0300
+++ b/main.cpp	Fri Apr 20 10:38:41 2018 +0300
@@ -3,7 +3,7 @@
 #include "max32630hsp.h"
 
 //PC serial connection:
-Serial pc(USBRX,USBTX);
+Serial pc(USBTX,USBRX);
 
 //Enable pin to convert 3V3 to 3V for MAX30205:
 DigitalOut max30205_LDO_EN(P7_1,1);