Skip to content
Snippets Groups Projects
Commit 0352cc85 authored by Sandeep Mistry's avatar Sandeep Mistry
Browse files

Change digitalPinToInterrupt to return pin, and use...

Change digitalPinToInterrupt to return pin, and use g_APinDescription[pin].ulExtInt to map pin inside attachInterrupt/detachInterrupt

This brings things inline with the atachInterrupt documentation for
usage:
attachInterrupt(digitalPinToInterrupt(pin), ISR, mode);
parent 897532fc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment