-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
On digitalWrites I would like to be able to call writeToTransport once instead of once for each pin.
My plan was to either overload digitalWrite with arrays or create a new method (i.e. digitalWriteMulti).
For example:
// digitalWriteMulti(pins, values);
digitalWriteMulti([1,2,3,4], [1,0,1,0]);
// Results in one writeToTransport on nextTick
- or -
digitalWriteMulti([1,2,9,11], [1,0,1,0]);
// Results in two writeToTransports on nextTick. One for each port
I want this because I believe that I can get a reasonable speed on stepper motors with whole or half steps using just standardFirmata.
Perhaps there is already a way to do this?
Metadata
Metadata
Assignees
Labels
No labels