How to use GPIO Interrupts using ESP32-S2?

Shravani Naik
Posts: 2
Joined: Fri Dec 11, 2020 7:23 am

How to use GPIO Interrupts using ESP32-S2?

Postby Shravani Naik » Thu Jan 07, 2021 6:26 am

Dear All.

I want to measure a frequency using ESP32-S2 WROOM development board. I want to use GPIO interrupts for measuring the frequency coming on the GPIO pin from external source. I got success in this by using esp32-12e using Arduino. In Arduino I have used attatchinterrupt function. I want to use similar function for ESP32-S2 also. But as I am new to ESP32-S2,I don't know how to use interrupts using ESP32-S2.Can anyone will help me with the flow of GPIO Interrupts? Please help :)

Thanks In advance :D

chegewara
Posts: 2371
Joined: Wed Jun 14, 2017 9:00 pm

Re: How to use GPIO Interrupts using ESP32-S2?

Postby chegewara » Thu Jan 14, 2021 6:30 pm

There should be no difference to attach interrupts for S1 and S2.

Who is online

Users browsing this forum: No registered users and 115 guests