You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datPin and clkPin can now be preexisting onoff Gpio instance instead of just their line number (see example). This enables more control over exit behavior when using other GPIO peripherals simultaneously.
Added more example scripts
Removed sleep_ms() from some example scripts that don't use it
Example scripts now manually terminate chain once they've completd
sleep_ms() now just continues as though it was meant to sleep for 0 milliseconds rather than crashing if no ms parameter is defined
Added explicit import for 'node:process'
Adjusted error handling messages
Bit-bang clock methods and several technical properties are now private
terminate() now checks to make sure the chain hasn't already been terminated before executing
Terminated chains will now replace their public methods with a failure message