Skip to content

Conversation

@vipulgupta2048
Copy link
Member

Additionally removed commented section on GPIO pins


Please make sure to read the CONTRIBUTING document before opening the PR for relevant information on contributing to the documentation. Thanks!

@flowzone-app
Copy link
Contributor

flowzone-app bot commented Nov 29, 2024

Website deployed to CF Pages, 👀 preview link https://06a21e5c.balenacloud-docs.pages.dev

@flowzone-app flowzone-app bot enabled auto-merge November 29, 2024 10:36
Additionally removed commented section on GPIO pins
@acostach acostach force-pushed the vipulgupta2048-patch-1 branch from f77cc0c to 78e0a98 Compare December 2, 2024 07:32
Copy link
Contributor

@acostach acostach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@flowzone-app flowzone-app bot merged commit a67ee3a into master Dec 2, 2024
53 checks passed
@flowzone-app flowzone-app bot deleted the vipulgupta2048-patch-1 branch December 2, 2024 12:08
@lurch
Copy link
Contributor

lurch commented Dec 5, 2024

For future reference, the Balena folks may find "A history of GPIO usage on Raspberry Pi devices, and current best practices" at https://pip.raspberrypi.com/categories/685-whitepapers-app-notes-compliance-guides a useful resource.

@lurch
Copy link
Contributor

lurch commented Dec 5, 2024

BTW I see that this page also says "We recommend [Pi Pins][pi-pins] for node.js projects" but according to https://www.npmjs.com/package/pi-pins it was last published 11 years ago (!) and it also uses sysfs, so it'll stop working on newer Linux kernels.

@vipulgupta2048
Copy link
Member Author

@lurch What's the current recommendation for Node.js projects from Raspberry Pi

@lurch
Copy link
Contributor

lurch commented Dec 23, 2024

@vipulgupta2048 I've got no idea; I don't think that Node.js is something that any of the Raspberry Pi Engineers have looked at.
A quick look at https://www.google.com/search?q=nodejs+libgpiod finds https://www.npmjs.com/package/node-libgpiod which looks like it might do the job, but I've not tried it myself and obviously it's up to Balena to do any testing.

@ghollingworth
Copy link

Yeah something based on libgpiod would be best supported, as long as it’s the correct version (shame that they didn’t get the api right the first time!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants