Barometric pressure and temperature sensing program example for Hexiwear
Dependencies: MPL3115A2
Fork of Hexi_barom_alt_temp_app by
Homepage
This project demonstrates the use of the MPL3115A2 pressure and temperature sensor embedded in hexiwear
Open a Hyperterminal tool on your computer and connect it to the "mbed Serial port (COMxx)" with Baud rate "9600bps"
Compile the project and copy the binary "Hexi_Pressure_Baro_Temp_Example_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer Press the K64F-RESET button on the docking station to start the program on your board
Message "Begin Data Acquisition from MPL3115A2 sensor..." will appear in the Hyperterminal window
Then every 500ms the value of the pressure and the temperature will be displayed in the Hyperterminal window and the LED will blink Green