Hello,
I want to use analog pins A8 and A9 on aruino Mega for digital input, I declared both pins in input pull up mode. A9 works ok, but I get no response at all from A8. any ideas?
private Sub DoorOpenButton_Changed (Status As Boolean)
Log (Status) 'no response at all
If Status = False Then UnLockDoor
End Sub
private Sub DoorSensor_Changed (Status As Boolean)
If Status = False Then
DoorSensorON = True 'door opened
Else
DoorSensorON = False 'door closed
LockDoor
End If
End Sub