Search found 2 matches

by gtyxl0
Tue Nov 02, 2021 5:59 am
Forum: ESP-IDF 中文讨论版
Topic: 编译报错does not name a type
Replies: 2
Views: 2779

Re: 编译报错does not name a type

用的时arduino,现在换成analogread()读取adc数值了
by gtyxl0
Sat Oct 30, 2021 7:41 am
Forum: ESP-IDF 中文讨论版
Topic: 编译报错does not name a type
Replies: 2
Views: 2779

编译报错does not name a type

  1. #include "esp_adc_cal.h"
  2. static esp_adc_cal_characteristics_t *adcChar;
  3. adcChar=(esp_adc_cal_characteristics_t *)calloc(1, sizeof(esp_adc_cal_characteristics_t));
'adcChar' does not name a type
试过很多方法,都不能解决