jinyistudio Well-Known Member Licensed User Longtime User May 14, 2020 #1 Hi Private Pin2 As GpioPinDigitalInput Pin2.Initialize("Pin0",17) ------>>>>> Why Pin0_StateChange cann't work when i change gpio17 value but use pin2.state is OK Sub Pin0_StateChange(State As Boolean) Log("Pin2 StateChange event: " & State) End Sub
Hi Private Pin2 As GpioPinDigitalInput Pin2.Initialize("Pin0",17) ------>>>>> Why Pin0_StateChange cann't work when i change gpio17 value but use pin2.state is OK Sub Pin0_StateChange(State As Boolean) Log("Pin2 StateChange event: " & State) End Sub
Erel B4X founder Staff member Licensed User Longtime User May 15, 2020 #2 Please use [code]code here...[/code] tags when posting code. Upvote 0