external interrupts

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

external interrupts

Postby kamesh » Thu Dec 29, 2016 3:32 am

How to make gpio as an external interrupt?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: external interrupts

Postby WiFive » Thu Dec 29, 2016 6:02 am

https://github.com/espressif/esp-idf/bl ... pio.h#L431

There is a typo in that line, should say EXAMPLE TO CONFIGURE GPIO AS INPUT

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: external interrupts

Postby kolban » Thu Dec 29, 2016 2:41 pm

That was a great catch on the comment error/typo. Espressif are fine with us creating pull requests (assuming we have basic Github skills) to make the changes our-selves. I wanted the practice so made the change and issued a pull-request.

https://github.com/espressif/esp-idf/pull/186
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: external interrupts

Postby ESP_Angus » Fri Dec 30, 2016 1:02 am

Thanks nkolban. Yes, pull requests to fix issues (from typos on up) are welcome!

Who is online

Users browsing this forum: No registered users and 98 guests