Simplicity Studio example for ArduinoAbstraction repository. It uses Arduino SI7021 Library with no/low modifications to display output on serial port.
Update macro in "ArduinoAbstraction/EFR32Variant.h" to support xG24 dev kit.
#define XG24EK2703B 1
to
#define XG24DK2601B 1
- Clone repository.
- Open Repository folder as workspace.
- Validate all the required dependencies are installed like SDK etc.
- Perform ArduinoAbstraction changes as above.
- Compile and flash. You will be able to see the Temprature and Humidity in Serial output.
Below is the output
Humidity: 72
Device ID: 15
Temprature: 32
Humidity: 72
Device ID: 15
Temprature: 32
Humidity: 73