Search found 5 matches

by Natsu_Kawa
Tue Nov 13, 2018 2:12 am
Forum: General Discussion
Topic: gpio_set_level() can not set the output value of the PIN
Replies: 5
Views: 20634

Re: gpio_set_level() can not set the output value of the PIN

You can't read the value of a GPIO if you didn't declare it as input.... well , i actually had decleared the pin as input mode before I call the func gpio_get_level(),but I cannot see the change of the pin on my screan still... but when I use avometer to check the level of the pin ,it does changed ...
by Natsu_Kawa
Tue Nov 06, 2018 1:32 am
Forum: General Discussion
Topic: gpio_set_level() can not set the output value of the PIN
Replies: 5
Views: 20634

Re: gpio_set_level() can not set the output value of the PIN

Ok guys ... there actually has not such a question here .. bucause when I use avometer to check the value of the pin , the pin was actually on the high value while the the msg printf by gpio_get_level(); is "0" , so there is also sth wrong on API..?
by Natsu_Kawa
Mon Nov 05, 2018 12:20 pm
Forum: General Discussion
Topic: gpio_set_level() can not set the output value of the PIN
Replies: 5
Views: 20634

gpio_set_level() can not set the output value of the PIN

I write a callback func like this to deive my peripheral , it runs when a specific key is down: void DrainWater(void) { gpio_set_level(GPIO_NUM_x,1);//set the pin as high level to drive the peripheral printf("The Value Of The GPIO_NUM_x now is %d",gpio_get_level(GPIO_NUM_x)); } this func is included...
by Natsu_Kawa
Tue Oct 23, 2018 5:16 am
Forum: General Discussion
Topic: First build hello_world and with error could not open COM port
Replies: 3
Views: 6265

Re: First build hello_world and with error could not open COM port

well , M so sorry for ask this question because I have resolved it just now... Because of that in windows the port is just to simulate the work condition which is under linux , so you can not set the port name by "COMn"[n = 1 , 2 , 3 ...],you have to use the port name under the linux by "/dev/ttyS0"...
by Natsu_Kawa
Tue Oct 23, 2018 3:23 am
Forum: General Discussion
Topic: First build hello_world and with error could not open COM port
Replies: 3
Views: 6265

First build hello_world and with error could not open COM port

I am just a new one to ESP32 , and going to working under windows 10 ,so I just do with the official recommend that with the IED eclipse and download the esp-idf form offical host page ,and commend make menuconfig was also added and it worked well,till now everything seems to be alright but , when I...