GPIO Extension
I'm having trouble converting a scratch project with the Raspberry Pi extention. It throws an error about the extention on preview and after conversion. I've tried html, ARM and straight linux but all through the error. Any help would be much appreciated. Kindest regards Brian
We don't support that extension, and I believe unfortunately it is not open source so we would have to rewrite it
We don't support that extension, and I believe unfortunately it is not open source so we would have to rewrite it
The extension code is here: https://github.com/RaspberryPiFoundation/scratch-desktop/blob/develop/raspberry-pi/extensions/scratch3_pigpio/index.js (it is written in a weird way so you may have to rewrite it anyway)
thanks for checking
seems like the important parts for actually talking to the GPIO is in https://github.com/RaspberryPiFoundation/scratch-desktop/tree/develop/cpp
finding a secure way to plumb renderer code to that native code seems a bit annoying but doable