Over current warning when checking sensors

When you have a sensor powered you can easily see if the input is drawing too much current. Here the value slowly increases until it is drawing too much current - the led associated to the input changes colour and eventually the display flashes (inverted)