wow, that looks interesting!
so which object do you use to read out the gpio?
would you be so kind as to share your gpioReading-demo.pd ?
thanks!
> On 18 Feb 2019, at 10:54, Peter P. <peterparker@fastmail.com> wrote:
>
> * michael strohmann <itsnotfair9@gmail.com> [2019-02-18 10:47]:
>>
>>> On 18 Feb 2019, at 10:36, Peter P. <peterparker@fastmail.com> wrote:
>>>
>>> * michael strohmann <itsnotfair9@gmail.com> [2019-02-18 10:22]:
>>>> good morning,
>>> Guten Morgen!
>>>
>>> I know you didn't want this answer, but, is there a chance you can
>>> figure out why you are getting the watchdog message in Pd in the first
>>> hand place?
>>
>> yes, i think/hope i found the reason (network related) but still would be happy to have a safetynet.
>> can only access wiringPI_gpio in sudo mode (raspberry…)
>
> On an RPi 1 I managed to read the gpio pins as normal user by executing
> the following script, which starts pd at the end.
>
> #!/bin/bash
>
> # set the TX RX pins to become inputs as well
> gpio -g mode 14 in
> gpio -g mode 15 in
>
> # set the following pins to low by default
> gpio -g mode 4 down
> gpio -g mode 5 down
> gpio -g mode 0 down
> gpio -g mode 6 down
>
> gpio -g mode 15 down
> gpio -g mode 8 down
> gpio -g mode 7 down
> gpio -g mode 1 down
>
> # export the pins to be read by a normal user
> # This numbering is already by BCM_GPIO number
> gpio export 2 in
> gpio export 3 in
> gpio export 4 in
> gpio export 17 in
> gpio export 27 in
> gpio export 22 in
> gpio export 10 in
> gpio export 9 in
> gpio export 11 in
> gpio export 0 in
> gpio export 5 in
> gpio export 6 in
> gpio export 13 in
> gpio export 19 in
> gpio export 26 in
>
> gpio export 14 in
> gpio export 15 in
> gpio export 18 in
> gpio export 23 in
> gpio export 24 in
> gpio export 25 in
> gpio export 8 in
> gpio export 7 in
> gpio export 1 in
> gpio export 12 in
> gpio export 16 in
> gpio export 20 in
> gpio export 21 in
>
> pd -rt gpioReading-demo.pd
>
>
>
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list