Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
can anyone please say.?
Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
What you need "disable" to mean?
Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
Switching the pin to an input with gpio_set_direction(gpio, GPIO_MODE_INPUT) or gpio_config() will disable the output driver and put the pin into a Hi-Z state. This is probably the closest you can do to "disabling" the pin.
Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
yea , that was okay , (for eg,) am continuously getting the data from esp32 through pir sensor , now i want to disable the particular gpio pin (which is getting the input from pir), how can i disable the gpio..??
Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
Hi,
I think pir sensor has a Potentiometers (knob) to change the sensitivity and also the duration until the output should be high if a motion is detected. changing the duration knob for e.g to min ( 3 seconds) and then including a delay of 3 seconds in the code would be one of the feasible solutions.
Thank you
Paul
I think pir sensor has a Potentiometers (knob) to change the sensitivity and also the duration until the output should be high if a motion is detected. changing the duration knob for e.g to min ( 3 seconds) and then including a delay of 3 seconds in the code would be one of the feasible solutions.
Thank you
Paul
Who is online
Users browsing this forum: hamzatamer76 and 98 guests