Charles:
Hi list,
I could make use of gpio (as output) within pd with just [textfile] :
on the command-line:
echo gpio17 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio17/direction chown charles /sys/class/gpio/gpio17/value
inside pd:
[ set 1 ( [ write /sys/class/gpio/gpio17/value cr ( | [ textfile ]
works.
could I do the reverse here? I mean, use it as an input rather than an output? would it be something like:
echo gpio17 > /sys/class/gpio/import echo in > /sys/class/gpio/gpio17/direction chown charles /sys/class/gpio/gpio17/value
inside pd:
[ set 1 ( [ read /sys/class/gpio/gpio17/value cr ( | [ textfile ]
tks