Name
adc_read8 —
reads a byte from the ADC
Synopsis
#include <adc.h>
uint8_t adc_read8 ( | channel) ; | |
uint8_t channel
;
Arguments
channel
ADC channel to read
Description
Reads a byte from the specified ADC channel. If the underlying ADC
is not 8-bit the sample is scaled to 8-bits.