adc: fixed GPIO export & improved diagnostics.
adc: use ADC0..ADC7 as channel names.
adc: use GPIOs from the environment.
adc: added averaging & config file.