Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
IIO gyroscope c code sample will print sensor data in console and also publish the sensor data through MQTT.
The sample include calibration and denoise algorithm adopt from https://github.com/01org/android-iio-sensors-hal
The calibration require to put the sensor on level surface.
Calibration and denoise is enabled by default. Can disable by comment out GYRO_CALIBRATE and DENOISE_MEDIAN in the c source file.
Signed-off-by: Lay, Kuan Loon kuan.loon.lay@intel.com