-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Description
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).