This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
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 <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
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 64 of file ADCConfig.hpp.

◆ HAS_ANALOG_READ_RESOLUTION

#define HAS_ANALOG_READ_RESOLUTION   0

Whether the platform supports the analogReadResolution function.

Definition at line 66 of file ADCConfig.hpp.