Topic: Having a digital sensor that allows more values than 2
The gps device can send me a parameter where the value could be 20, 14 or 79. Can I have a sensor that can change its state according with the value of the parameter?
param_x = 20 -> State of sensor: OPEN
param_x = 14 -> State of sensor: CLOSED
param_x = 79 -> State of sensor: HALF-CLOSED
Thanks so much for taking time to answer my question.