My old 'gpio' object was from 2013. it just issued linux reads and writes to some device. I don't know if it would still work.
I've stuck it on
msp.ucsd.edu/tmp/gpio.c
in case you get desperate enough to want to revive a 10-year-old bit of system hackery :)
Miller
On 11/8/23 19:07, Dan Wilcox wrote:
I believe there was a basic [gpio] object, perhaps from Miller but I don't find it on his site now.
If someone has the source code, maybe we can put it up separately on github.com/pd-externals https://urldefense.com/v3/__http://github.com/pd-externals__;!!Mih3wA!H8fVaWGNsJj7sRtceIBHPZIPU04qP2rE5S5a6i1dbaQIEh_yXEV621KT5eKVtL5rwyCFj8sE0_vMia4$ with a pd-lib-builder makefile. It should be a simple C object, so easy to compile.
On Nov 8, 2023, at 6:57 PM, pd-list-request@lists.iem.at wrote:
Message: 1 Date: Wed, 8 Nov 2023 15:14:21 +0100 From: Yann Seznec yann@yannseznec.com To:pd-list@lists.iem.at Subject: [PD] Current best practice for GPIO pins on Raspberry Pi? Message-ID: 9052D80B-1595-4402-92D3-066B5A4D3AD7@yannseznec.com Content-Type: text/plain;charset=utf-8
Hello,
I?m wondering what the best option is nowadays for using the GPIO pins on a Raspberry Pi in Pure Data.
Wiring Pi seems to be no longer available, as far as I can tell. I?m not sure what other options there are?
One option suggested elsewhere for inputs was to use the ?retrogame? script to turn GPIO pin activity into keyboard presses and use the [key] object in Pd, but I can?t seem to get that script to work properly yet.
Any suggestions would be great, thanks in advance.
Yann
Dan Wilcox @danomatika https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!H8fVaWGNsJj7sRtceIBHPZIPU04qP2rE5S5a6i1dbaQIEh_yXEV621KT5eKVtL5rwyCFj8sE8qO8JMw$ danomatika.com https://urldefense.com/v3/__http://danomatika.com__;!!Mih3wA!H8fVaWGNsJj7sRtceIBHPZIPU04qP2rE5S5a6i1dbaQIEh_yXEV621KT5eKVtL5rwyCFj8sEgd8p0xI$ robotcowboy.com https://urldefense.com/v3/__http://robotcowboy.com__;!!Mih3wA!H8fVaWGNsJj7sRtceIBHPZIPU04qP2rE5S5a6i1dbaQIEh_yXEV621KT5eKVtL5rwyCFj8sE20SnXjQ$
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...