refactored analog channel population to only sample the ADC if we need to for that sample tick