rollback on main to use bit-bang adc.