Skip to content

v1.0.2

Choose a tag to compare

@phasn phasn released this 05 Aug 23:23
· 10 commits to main since this release
  • 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
  • Fixed more README typos