Can you add a checker for disconnected? My display keeps treating it as 0 but i want to turn off the display then.
What? Just add a pin that turns on the display when the pin is set to 1. If its disconnected then it should naturally be 0.