This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
201167bdb1
zephyr
/
samples
/
sensor
/
lis2dh
/
prj.conf
5 lines
82 B
Plaintext
Raw
Normal View
History
Unescape
Escape
samples: sensor: add lis2dh sample Basic polled and triggered sampling of accelerometer data from LIS2DH-compatible sensors. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-10-18 04:27:29 +08:00
CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
samples: add FP formatting to all samples that require it Samples that include floating-point format specifications may need cbprintf FP support. Make sure it's available. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-11-16 23:09:47 +08:00
CONFIG_CBPRINTF_FP_SUPPORT=y