enhancements for the manual adc/gpio stuff