16.3 Select the Input Range

Select the input range from among the available options in the table in section 15.2. If the range is the same as for the previous A/D conversion it does not need to be set again. Write this value to the input range register at Base+3.

outp(base+3, 0x01); // example: set gain = 2

Last updated