You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LwRx was trying to use the wrong interrupt on my Pro Micro (32u4, like Arduino Leonardo). There's a function in the standard libraries to translate pins to interrupts so I've just bunged in this as a replacement for getIntNo and it works like a charm.
Thanks for the library BTW!
/**
Get Int Number for a Pin
**/
int getIntNo(int pin) {
return digitalPinToInterrupt(pin);
}
The text was updated successfully, but these errors were encountered:
LwRx was trying to use the wrong interrupt on my Pro Micro (32u4, like Arduino Leonardo). There's a function in the standard libraries to translate pins to interrupts so I've just bunged in this as a replacement for getIntNo and it works like a charm.
Thanks for the library BTW!
The text was updated successfully, but these errors were encountered: