You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am beginner in zephyr, I am trying to configure some sensors(I2C based) in my device(nRF52840 board). By using sample code, I am getting sensors value successfully. I am using this APIs: device_get_binding(...), sensor_sample_fetch(...) and sensor_channel_get(...) to read sensors value.
My device is battery based, I want to put my device into power down mode after reading sensors data, but there is no APIs exposed for doing this task.
I am using LPS22HB sample code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am beginner in zephyr, I am trying to configure some sensors(I2C based) in my device(nRF52840 board). By using sample code, I am getting sensors value successfully. I am using this APIs: device_get_binding(...), sensor_sample_fetch(...) and sensor_channel_get(...) to read sensors value.
My device is battery based, I want to put my device into power down mode after reading sensors data, but there is no APIs exposed for doing this task.
I am using LPS22HB sample code.
Beta Was this translation helpful? Give feedback.
All reactions