Skip to content

Refactor other sensors to use fastTicks / internal poll period #822

@tyeth

Description

@tyeth

Since #811 is merged, the base driver should probably be extended to support an internal poll period, and the time calc done there, with a view to v2.
Mainly the other air sensors that need similar functionality should be refactored.

In v2 there should also be the facility for a 0 internal poll period, effectively facilitating on_change for i2c. There would ideally be some controllable hysteresis options for users (ADCs etc) although basic digital inputs will be a massive initial win. Ideally there would be extra pins possible on i2c components (like an interrupt pin) which could instead trigger readings so the Quadrature encoders over SeeSaw (i2c) would not require constant polling (would be fine initially if they did).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions