Interfacing to external programs
Posted: Jul 2nd, '17, 21:33
Hi
I've done a lot of stuff over the years in getting Scratch/BYOB controlling the pins on the Raspberry Pi thru a python handler that listens/responds to Scratch 1.4 type broadcast/sensor-update msgs.
So when we get a version of GP that runs natively on the Pi - it would be really nice if there was a method that was at least as good as the old 1.4 facility, to help do this.
Having the broadcast send out 1.4 type broadcast msgs would be perfect of course :)
Today, I've managed to make a very simple "cloud server" listener on a Pi ( having modified CloudDataServer.gp to point to the Pi ip address) as a proof of concept and I'm looking forward to the native Pi binary coming out soon to see if it will work natively.
regards Simon
SimpleScratch on ScratchForums/ @cymplecy Twitter
I've done a lot of stuff over the years in getting Scratch/BYOB controlling the pins on the Raspberry Pi thru a python handler that listens/responds to Scratch 1.4 type broadcast/sensor-update msgs.
So when we get a version of GP that runs natively on the Pi - it would be really nice if there was a method that was at least as good as the old 1.4 facility, to help do this.
Having the broadcast send out 1.4 type broadcast msgs would be perfect of course :)
Today, I've managed to make a very simple "cloud server" listener on a Pi ( having modified CloudDataServer.gp to point to the Pi ip address) as a proof of concept and I'm looking forward to the native Pi binary coming out soon to see if it will work natively.
regards Simon
SimpleScratch on ScratchForums/ @cymplecy Twitter