Releases: phasn/P9813
Releases · phasn/P9813
Release list
v1.1.0
v1.0.3
sleepAtomic()
sleep_ms function has been replaced with popular Atomics.wait method due to being significantly more efficient
forceUnexport.js
New NPM script for attempting to force-close GPIO pins that have been made inaccessible due to uncommon board-specific bug related to non-standard GPIO implementation
examples/P9813ModuleAssortment.png
Image featuring a lineup of several examples of widely available P9813 modules
v1.0.2
datPinandclkPincan 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 nomsparameter 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