zephyr/samples/sensor
Miguel Gazquez f6f03867d8 samples: accel_polling: set sampling frequency when necessary
The accel_polling sample uses various sensor, but doesn't set a sampling
rate. But some sensors (like st,lsm6dso) have a default sampling
frequency of 0. So, depending on the sensor, the sample may not always
work.

There are two ways to fix this: either all drivers must set a valid
sampling rate, or the sample shall at least try to set a value if there
is none.

We propose here the second approach, wich should allow the sample to
work on more sensors out of the box.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-07-29 14:21:24 +02:00
..
accel_polling samples: accel_polling: set sampling frequency when necessary 2024-07-29 14:21:24 +02:00
adc_cmp_npcx
adt7420
amg88xx
ams_iAQcore
apds9960
bme280 doc: Revamp sensor docs 2024-07-16 16:49:24 -04:00
bme680 samples: sensor: bme680: Allow coverage calculation 2024-06-14 15:35:02 +02:00
bmg160
bmi270
bq274xx doc: fix incorrect bullet lists 2024-06-20 14:07:32 -04:00
ccs811 boards: silabs: Consistently name dev kits 2024-06-12 12:52:28 -04:00
co2_polling
dht
dht_polling samples: sensor: dht_polling run sample on sensor present 2024-06-14 14:01:41 -04:00
die_temp_polling everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
dps310
ds18b20 doc: Revamp sensor docs 2024-07-16 16:49:24 -04:00
ens210
fdc2x1x
fxas21002
fxos8700
grove_light
grove_temperature
grow_r502a
hts221
i3g4250d
icm42605
ina219
isl29035
lis2dh
lps22hb
lps22hh
lps22hh_i3c
lsm6dsl
lsm6dso
lsm6dso_i2c_on_i3c
lsm303dlhc
magn_polling
max6675
max17262
max30101
max44009
mcp9808
mcux_acmp
mcux_lpcmp everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
mhz19b
mpr everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
mpu6050
ms5837 everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
proximity_polling
qdec samples: sensor: qdec: fix mimxrt1050_evk build failure. 2024-06-25 21:18:47 -04:00
sensor_shell everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
sgp40_sht4x
sht3xd boards: silabs: Consistently name dev kits 2024-06-12 12:52:28 -04:00
sm351lt
soc_voltage
sx9500
th02
thermometer
ti_hdc
tmp108
tmp112
tmp116
vcnl4040
veaa_x_3
vl53l0x
sensor.rst