mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Fixed 'shaking' readings from ADC/ADC12
This commit is contained in:
@ -43,11 +43,14 @@
|
||||
|
||||
#include "../chip.h"
|
||||
|
||||
#define ADC_FREQ_MAX 20000000
|
||||
#define ADC_FREQ_MIN 1000000
|
||||
#define ADC_FREQ_MAX 5000000
|
||||
#define ADC_STARTUP 20
|
||||
|
||||
#define ADC_STARTUP_NORM 40
|
||||
#define ADC_STARTUP_FAST 12
|
||||
#define ADC12_FREQ_MAX 20000000
|
||||
#define ADC12_FREQ_MIN 1000000
|
||||
|
||||
#define ADC12_STARTUP_NORM 40
|
||||
#define ADC12_STARTUP_FAST 12
|
||||
|
||||
/* Definitions for ADC resolution */
|
||||
typedef enum _adc_resolution_t {
|
||||
|
Reference in New Issue
Block a user