MS5837 Sensor Sample
Overview
This sample application retrieves the pressure and temperature from a MS5837 sensor every 10 seconds, and prints this information to the UART console.
Requirements
- MS5837 sensor 
Wiring
The nrf52840 Preview development kit should be connected as follows to the MS5837 sensor.
| nrf52840 Pin | MS5837 Pin | 
|---|---|
| P0.3 | SCL | 
| P0.31 | SDA | 
Building and Running
Build this sample using the following commands:
west build -b nrf52840dk/nrf52840 samples/sensor/ms5837
See nRF52840 DK on how to flash the build.