Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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/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.
 
#define HAS_ANALOG_READ_RESOLUTION   0
 Whether the platform supports the analogReadResolution function.
 

Macro Definition Documentation

◆ ADC_RESOLUTION

#define ADC_RESOLUTION   10

The actual maximum resolution of the built-in ADC.

Definition at line 71 of file ADCConfig.hpp.

◆ HAS_ANALOG_READ_RESOLUTION

#define HAS_ANALOG_READ_RESOLUTION   0

Whether the platform supports the analogReadResolution function.

Definition at line 73 of file ADCConfig.hpp.