Actually, I was just asking "will it work with the resistor on the high side" - sorry for not being clear. I'm going to write the software such that readings are taken when d1 is high, and not when d2 is high. I'm just inverting the voltage after taking the reading to try to extend the lifetime of the "sensor" parts.