RaspberryPi GPIO support package on SqueakMap
Last updated at 2:57 am UTC on 16 February 2017
Tim Rowledge Fri, Feb 10, 2017 at 2:28 AM
To: The general-purpose Squeak developers list
There is a one-click install for the Pi gpio support libraries. It needs Squeak 5.1.
1. Update your SM catalogue
2. Find ‘RaspberryPi gpio support’
3. and install.
Only works on a Pi, of course. Well, strictly speaking it ought to work on an x86 box running Raspbian PIXEL86, but you’d still need a Pi running the pgipgio service to access the actual pins. Well, until someone makes a PC add-on that provides them.
So now you can have a Pi running Squeak reading some gpio attached inputs and sending the data via MQTT to some other Squeak that uses PlotMorph to make a pretty image and ship that to a website via an http PUT whilst saving the data in a Magma database for posteriority. Oh, and since Facebook uses MQTT you can auto-update stuff there too.