B4J Question GpioPinDigitalInput StateChange Event not work

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi
Private Pin2 As GpioPinDigitalInput
Pin2.Initialize("Pin0",17) ------>>>>> Why Pin0_StateChange cann't work when i change gpio17 value o_O but use pin2.state is OK

Sub Pin0_StateChange(State As Boolean)
Log("Pin2 StateChange event: " & State)
End Sub
 
Top