Hi there.
About Arduino 101's interrupt pins.
The reference page is written, "5 pin is capable of seeing CHANGE".
here
But I think 5 pin is not capable it, and 4 pin can.
Is it typo or my 101 has an error?
Thanks,
#include <Arduino.h>
int a = 0;
void warikomi() {
Serial.println(a);
a++;
}
void setup() {
Serial.begin(9600);
while (!Serial)
;
attachInterrupt(5, warikomi, CHANGE);
}
void loop() {
}
My test code below.