firmata / arduino

Firmata firmware for Arduino
GNU Lesser General Public License v2.1
1.54k stars 515 forks source link

consider ability to add a sampling interval per feature #223

Open soundanalogous opened 9 years ago

soundanalogous commented 9 years ago

That is as long as a particular feature needs a sampling interval.

DomAmato commented 8 years ago

This somewhat depends on the feature, Encoders and Steppers need to be updated faster than the sampling interval though they can report at a slower pace assuming some kind of flag has been set that data needs to be transmitted. This feels like it would be perfect for configurable firmata since a sampling interval could be set for each feature during an "update" call. certainly doable in standard firmata but thats my thought on it.

soundanalogous commented 8 years ago

This assumes an update (non-backwards compatible) of many existing features that would could benefit from a sampling interval.