To enable and disable channels with the adc11_set_interval, pass the channel names in an array with the number of channels to be used. Eachh time this is called ith will overwrite any previous call and thus switch off channels that have already been switched on and turn new channels on.