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
I'm trying to set up a pushbutton connected to GPIO 23 (pin 16) to trigger service mode per some comments in the discussions.
However as soon as I enable the pin and save, i get the above write error and a stack trace (see screenshot)
I believe this problem is related to the default "onoff" dependency being incompatible with the latest raspberry Pi OS in terms of the GPIO pin numbering.
Looks like "onoff" is not being maintained. there is an open pull request to address this but it has not been merged. see fivdi/onoff#204.
I found a fork of "onoff" that has that change merged, so pulled this to replace the npm default, and package.json now contains:
"onoff": "github:nwpray/onoff"
this seems to solve the problem...
The text was updated successfully, but these errors were encountered:
I'm trying to set up a pushbutton connected to GPIO 23 (pin 16) to trigger service mode per some comments in the discussions.
However as soon as I enable the pin and save, i get the above write error and a stack trace (see screenshot)
I believe this problem is related to the default "onoff" dependency being incompatible with the latest raspberry Pi OS in terms of the GPIO pin numbering.
Looks like "onoff" is not being maintained. there is an open pull request to address this but it has not been merged. see fivdi/onoff#204.
I found a fork of "onoff" that has that change merged, so pulled this to replace the npm default, and package.json now contains:
"onoff": "github:nwpray/onoff"
this seems to solve the problem...
The text was updated successfully, but these errors were encountered: