@tuxserbia:
OK, to je verzija java runtime biblioteke :)
Nećemo da mešamo grannies and oranges :D
Code:
Board Digital Pins Usable For Interrupts
Uno, Nano, Mini, other 328-based 2, 3
Uno WiFi Rev.2 all digital pins
Mega, Mega2560, MegaADK 2, 3, 18, 19, 20, 21
Micro, Leonardo, other 32u4-based 0, 1, 2, 3, 7
Zero all digital pins, except 4
MKR Family boards 0, 1, 4, 5, 6, 7, 8, 9, A1, A2
Due all digital pins
101 all digital pins (Only pins 2, 5, 7, 8, 10, 11, 12, 13 work with CHANGE)
tako da za pločice sa AtMEGA328 može da bude ili
Code:
attachInterrupt(2, blink, CHANGE);
ili
Code:
attachInterrupt(3, blink, CHANGE);
--
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.