You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/esphome/components/m5paper/m5paper.cpp: In member function 'virtual void esphome::m5paper::M5PaperComponent::setup()':
src/esphome/components/m5paper/m5paper.cpp:33:31: error: 'ADC1_GPIO35_CHANNEL' was not declared in this scope
adc1_config_channel_atten(ADC1_GPIO35_CHANNEL, ADC_ATTEN_DB_11);
^~~~~~~~~~~~~~~~~~~
src/esphome/components/m5paper/m5paper.cpp:33:31: note: suggested alternative: 'ADC1_CHANNEL_7'
adc1_config_channel_atten(ADC1_GPIO35_CHANNEL, ADC_ATTEN_DB_11);
^~~~~~~~~~~~~~~~~~~
ADC1_CHANNEL_7
src/esphome/components/m5paper/m5paper.cpp: In member function 'virtual void esphome::m5paper::M5PaperComponent::update()':
src/esphome/components/m5paper/m5paper.cpp:53:39: error: 'ADC1_GPIO35_CHANNEL' was not declared in this scope
adc_raw_value += adc1_get_raw(ADC1_GPIO35_CHANNEL);
^~~~~~~~~~~~~~~~~~~
src/esphome/components/m5paper/m5paper.cpp:53:39: note: suggested alternative: 'ADC1_CHANNEL_7'
adc_raw_value += adc1_get_raw(ADC1_GPIO35_CHANNEL);
^~~~~~~~~~~~~~~~~~~
ADC1_CHANNEL_7
*** [/data/m5paper/.pioenvs/m5paper/src/esphome/components/m5paper/m5paper.cpp.o] Error 1
========================= [FAILED] Took 18.52
The text was updated successfully, but these errors were encountered:
src/esphome/components/m5paper/m5paper.cpp: In member function 'virtual void esphome::m5paper::M5PaperComponent::setup()':
src/esphome/components/m5paper/m5paper.cpp:33:31: error: 'ADC1_GPIO35_CHANNEL' was not declared in this scope
adc1_config_channel_atten(ADC1_GPIO35_CHANNEL, ADC_ATTEN_DB_11);
^~~~~~~~~~~~~~~~~~~
src/esphome/components/m5paper/m5paper.cpp:33:31: note: suggested alternative: 'ADC1_CHANNEL_7'
adc1_config_channel_atten(ADC1_GPIO35_CHANNEL, ADC_ATTEN_DB_11);
^~~~~~~~~~~~~~~~~~~
ADC1_CHANNEL_7
src/esphome/components/m5paper/m5paper.cpp: In member function 'virtual void esphome::m5paper::M5PaperComponent::update()':
src/esphome/components/m5paper/m5paper.cpp:53:39: error: 'ADC1_GPIO35_CHANNEL' was not declared in this scope
adc_raw_value += adc1_get_raw(ADC1_GPIO35_CHANNEL);
^~~~~~~~~~~~~~~~~~~
src/esphome/components/m5paper/m5paper.cpp:53:39: note: suggested alternative: 'ADC1_CHANNEL_7'
adc_raw_value += adc1_get_raw(ADC1_GPIO35_CHANNEL);
^~~~~~~~~~~~~~~~~~~
ADC1_CHANNEL_7
*** [/data/m5paper/.pioenvs/m5paper/src/esphome/components/m5paper/m5paper.cpp.o] Error 1
========================= [FAILED] Took 18.52
The text was updated successfully, but these errors were encountered: