adafruit / adafruit/Adafruit_Wippersnapper_Arduino

Refactor other sensors to use fastTicks / internal poll period

Open
#822 5 comments 0 reactions 1 assignee Claimed by @tyeth View on GitHub
i2c
Dominant language
C++
Stars
54
Forks
56
Avg merge
2d 12h
Merged PRs (30d)
11

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.