Skip to content

Feature/sths34pf80 support#375

Open
ojousima wants to merge 11 commits intomasterfrom
feature/sths34pf80-support
Open

Feature/sths34pf80 support#375
ojousima wants to merge 11 commits intomasterfrom
feature/sths34pf80-support

Conversation

@ojousima
Copy link
Member

No description provided.

Phase 3 of STHS34PF80 implementation:
- app_config.h: Add sensor enable/config macros
  - APP_SENSOR_STHS34PF80_ENABLED
  - APP_SENSOR_STHS34PF80_DSP_FUNC/PARAM/MODE/RESOLUTION/SAMPLERATE/SCALE
  - APP_FLASH_SENSOR_STHS34PF80_RECORD (0x80)
  - RI_STHS34PF80_ENABLED driver macro

- app_sensor.h: Add sensor integration
  - STHS34PF80_INDEX in sensor enum
  - Include ruuvi_interface_sths34pf80.h
  - APP_SENSOR_STHS34PF80_DEFAULT_CFG macro

- app_sensor.c: Add sensor context
  - Static sths34pf80 context
  - Register in m_sensors_init()
  - Include driver header

Sensor provides: ambient_temp, presence, motion, ir_object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant