Timeline for Arduino to AtTiny change of pin interrupt behaviour?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 13, 2021 at 8:26 | vote | accept | B7th | ||
| Jan 13, 2021 at 8:26 | answer | added | B7th | timeline score: 0 | |
| Oct 19, 2020 at 8:19 | comment | added | Juraj♦ | it is possible that the Arduino core in this boards support package doesn't have the function | |
| Oct 19, 2020 at 7:15 | comment | added | B7th | @Juraj, For some reason my version of Arduino IDE does not recognize the digitalPinToInterrupt? Looks like a usual thing so will see how else I can do this. Currently diving in the GIMSK etc. :S | |
| Oct 18, 2020 at 9:09 | comment | added | B7th | Aaaaah so that's why it's not recommended. I will give it a try and come back with corrections! Thank you both! | |
| Oct 18, 2020 at 7:25 | comment | added | KIIV | The INT0 value is 0 for Atmega328 and it's 6 for the Attiny45... It was working just by accident on the other Arduino. It's not even supposed to be used with attachInterrupt (it's used by attachInterrupt to setup registers correctly) | |
| Oct 18, 2020 at 7:20 | comment | added | Juraj♦ |
attachInterrupt(digitalPinToInterrupt(pin), ...
|
|
| Oct 18, 2020 at 5:16 | history | asked | B7th | CC BY-SA 4.0 |