Sub Process_Globals
Public Serial1 As Serial
Private p As Pin
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log("AppStart")
p.Initialize(10, p.MODE_INPUT)
p.AddListener("p_StateChanged")
End Sub
Sub p_StateChanged (State As Boolean)
End Sub