Be sure to use internal pullup on A0, otherwise you may only see 0's when you read the input no matter what the current loop is doing.
On the input side, you are driving an LED, so current limit resistor in series with the + or - input (one or the other) may be needed as well.