Control Surface  1.1.1
MIDI Control Surface library for Arduino
Macros
ADCConfig.hpp File Reference

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. More...

#include <AH/Settings/Warnings.hpp>
#include <Arduino.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...
 

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.

Macro Definition Documentation

◆ ADC_RESOLUTION

#define ADC_RESOLUTION   10

The actual maximum resolution of the built-in ADC.

Definition at line 69 of file ADCConfig.hpp.

◆ HAS_ANALOG_READ_RESOLUTION

#define HAS_ANALOG_READ_RESOLUTION   0

Whether the platform supports the analogReadResolution function.

Definition at line 71 of file ADCConfig.hpp.