Search found 5 matches

by lucx325
Wed Aug 21, 2019 11:36 pm
Forum: General Discussion
Topic: ESP32 power led start blinking at 2.2v at input Pin when 220V AC bulb on
Replies: 5
Views: 6357

Re: ESP32 power led start blinking at 2.2v at input Pin when 220V AC bulb on

the 3.3v pin can also be used as power input, so you should check, when the bulb is on, the voltage on the ve+ of the relay., why do you use the NC(normal close) port ?
by lucx325
Sun Aug 18, 2019 3:19 am
Forum: ESP-IDF 中文讨论版
Topic: 关于adc和GPIO的问题
Replies: 2
Views: 5750

Re: 关于adc和GPIO的问题

我还想问一问gpio_set_drive_capability这个函数是不是控制io口的电流输出能力的
by lucx325
Sat Aug 17, 2019 10:57 am
Forum: ESP-IDF 中文讨论版
Topic: 关于adc和GPIO的问题
Replies: 2
Views: 5750

关于adc和GPIO的问题

我把GPIO17设置成GPIO_MODE_OUTPUT,将GPIO34设置成adc,adc1_config_channel_atten(ADC1_GPIO34_CHANNEL, ADC_ATTEN_DB_11)这样配置, 用来测量一个传感器,为什么我将17的设置成逻辑高电平时, 34口的读数直接变成511,读数的位宽是9bit。型号是ESP32-DevKitC。
by lucx325
Tue Aug 13, 2019 8:50 am
Forum: ESP-IDF 中文讨论版
Topic: 求帮助,关于工程中components组件的问题
Replies: 2
Views: 4674

Re: 求帮助,关于工程中components组件的问题

好的,谢谢,我把components/wifi里的CMackeLists.txt通过set(COMPONENT_ADD_INCLUDEDIRS )把WiFi所需的头文件添加了也编译通过了。
by lucx325
Mon Aug 12, 2019 2:44 am
Forum: ESP-IDF 中文讨论版
Topic: 求帮助,关于工程中components组件的问题
Replies: 2
Views: 4674

求帮助,关于工程中components组件的问题

请教各位,我最近刚刚学习esp32,关于component组件怎么使用遇到问题,我创建了一个project, 里面的main直接拷贝的idf里面的example/get_start/hello_world, 让我我在components里面创建了一个wifi文件夹,直接拷贝的example里面的wifi/getting_started/station/main的文件,然后在helloworld源文件里面调用wifi源文件的函数,来连接我自己的wifi,但是使用idf.py build的时候出现components/wifi/station_example_main.c:17:23: fatal...