B4J Question disattach a interrupt possible?

MbedAndroid

Well-Known Member
Licensed User
Longtime User
You can attach a pininterrupt in Bj4 (for rasp via the 40 pins header)
B4X:
private Sub Cint_StateChange(State As Boolean)
code.....
end sub
but is there a way to disattach a interrupt in the code?
edit
think i found a way
just reinit the statement without a callback
B4X:
Cint.Initialize("", 1) 'GpioPinDigitalInput
 
Last edited:

MbedAndroid

Well-Known Member
Licensed User
Longtime User
mmm the solution doesnt work. Error in the report. Pin is already used.
still need a way to disattach a pin
 
Upvote 0
Top