Can't configure I/O 0 as an input

There is an issue in the current ASR-1 firmware where I/O 0 is always configured as an output. Unfortunately there is no workaround. You will need to use one of the other I/Os for your input needs until this problem is fixed via an over-the-air update.