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
Hi
I tried to use your library with an MEGA2560. I tried to compile the example btnled.ino and it stops compiling with following error:
"PCINT\src/pcint.h:108:48: error: 'INT_MODE_TYPE' has not been declared
void PCattachInterrupt(HANDLER_TYPE userFunc, INT_MODE_TYPE mode) {"
I am using Arduino IDE 1.8.57.0
I found this issue in an articlle which says
"It looks like when adding support for STM32F1 and STM32F4 processors they had to make the RISING/FALLING/CHANGE argument something other than 'uint8_t'. They did that by defining "INT_MODE_TYPE" but it seems they only do that when "PCINT_NO_MAPS" is defined. I don't think they tested on a MEGA after making this change."
Is there any solution? I think this lib is easy to use. There are two ohters which I cannot handle.
Thanks for your help.
Greatings Klaus
The text was updated successfully, but these errors were encountered:
Hi
I tried to use your library with an MEGA2560. I tried to compile the example btnled.ino and it stops compiling with following error:
"PCINT\src/pcint.h:108:48: error: 'INT_MODE_TYPE' has not been declared
void PCattachInterrupt(HANDLER_TYPE userFunc, INT_MODE_TYPE mode) {"
I am using Arduino IDE 1.8.57.0
I found this issue in an articlle which says
"It looks like when adding support for STM32F1 and STM32F4 processors they had to make the RISING/FALLING/CHANGE argument something other than 'uint8_t'. They did that by defining "INT_MODE_TYPE" but it seems they only do that when "PCINT_NO_MAPS" is defined. I don't think they tested on a MEGA after making this change."
Is there any solution? I think this lib is easy to use. There are two ohters which I cannot handle.
Thanks for your help.
Greatings Klaus
The text was updated successfully, but these errors were encountered: