Using NodeJs on ROCK 4 SE?

I’m a total beginner, so please bear with me! I got this ROCK 4 SE because it’s impossible to get hold of the Raspberry 4, and the Rock got good reviews so.

I’m trying to get a simple blinking LED code running, preferably using NodeJs, so I thought I could use the same code as for a Raspberry? Seems not - the board cannot work with the “pigpio” c library that NodeJs uses. :frowning: So how on earth do I get started coding the pio on this little thingy? The getting started for Rock 4 only goes through installing Debian and such, nothing about coding, and I’ve been googling for hours on end.

Please help!

Check MRAA, it provides Node binding.

It supports ROCK Pi 4, which is the same GPIO as ROCK 4 SE.

https://wiki.radxa.com/Rock4/hardware/gpio
https://wiki.radxa.com/Rockpi4/dev/libmraa

Not really a Java person but its listed on npm but only for 6.x.x.