oci-pronghorn / FogLight

Adapter stages for various IoT devices. Provides GPIO, I2C, PWM etc.
14 stars 9 forks source link

Add ability for channels to block only/except when an analog read meets threshold #44

Open caer opened 7 years ago

caer commented 7 years ago

We'd like the ability to have command channels block/reject actions if a given analog read does not lie within, outside of, above or below some threshold. Most likely this feature would be implemented very close to the hardware level itself, and not necessarily as high up as the command channel...it might be possible to implement by cobbling together the existing listener APIs.