40 #ifdef X_NUCLEO_IKS01A1
42 #include "lib/sensors.h"
46 static int _active = 1;
52 if(!st_lib_bsp_hum_temp_is_initialized()) {
53 st_lib_bsp_hum_temp_init();
80 volatile float humidity_value;
82 st_lib_bsp_hum_temp_get_humidity((
float *)&humidity_value);
84 humidity = humidity_value * 10;
89 configure(
int type,
int value)
118 SENSORS_SENSOR(humidity_sensor, HUMIDITY_SENSOR, value, configure, status);
Header file for the STM32Cube HAL APIs.
Header file for the stm32nucleo-spirit1 Humidity Sensor Driver.