sorry I am struggling to understand what is happening here and what you are asking. [r belaDigitalIn19]
will receive a message every time the state of the input changes. In your small screenshot here, the message [; set-a bang(
will be sent every time the toggle is toggled, regardless of the output of the [&&]
, maybe you were thinking of adding a [select 1]
in between the two?
david (I have a pulldown resistor to 0 Volts - occurs to me - should it be a pull up resistor?)
I am not sure how the whole thing is wired up, so I cannot answer this, and I don't understand what you mean by "blocked".
david ? In terms of operation I am not getting individual inputs working - they are all behaving as if they are ON all the time so what I am seeing in Pd is I think what is happening
so I am a bit confused because earlier you said
david I have checked the inputs and they are changing as expected.
?
Also I see in you larger screenshot
that you are sending to [s bela_digitalOut0]
, and 1
and 2
and 3
, but actually the numbering of Digital channels in Bela-Pd is only from 11 to 26, so you should use 11, 12, 13, 14 instead.
Can you try with a simple patch such as
[loadbang]
|
[in 15, in 16, in 19]
|
[s bela_setDigital]
[r bela_digitalIn15]
|
[print 15]
[r bela_digitalIn16]
|
[print 16]
[r bela_digitalIn19]
|
[print 19]
(and possibly add the digital outs if they are needed ? I don't know how your keypad works) to verify that the digital inputs actually send a message when a button is pressed?