Arduino Filters master
Filter library for Arduino
Macros
ADCConfig.hpp File Reference

Detailed Description

This file contains the platform-specific ADC resolutions.

By default, the library automatically selects the maximum supported resolution for known boards, otherwise, it falls back to 10 bits.

See also
AH::ADC_BITS

Definition in file ADCConfig.hpp.

#include <AH/Settings/Warnings.hpp>
#include <AH/Arduino-Wrapper.h>
+ Include dependency graph for ADCConfig.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADC_RESOLUTION   10
 The actual maximum resolution of the built-in ADC. More...
 
#define HAS_ANALOG_READ_RESOLUTION   0
 Whether the platform supports the analogReadResolution function. More...
 

Macro Definition Documentation

◆ ADC_RESOLUTION

#define ADC_RESOLUTION   10

The actual maximum resolution of the built-in ADC.

Definition at line 76 of file ADCConfig.hpp.

◆ HAS_ANALOG_READ_RESOLUTION

#define HAS_ANALOG_READ_RESOLUTION   0

Whether the platform supports the analogReadResolution function.

Definition at line 78 of file ADCConfig.hpp.