attachInterrupt(0, rising, RISING);
attachInterrupt(0, falling, FALLING);
You can have one interrupt handler attached to a pin. Which one is going to actually be attached?
attachInterrupt(0, rising, RISING);
attachInterrupt(0, falling, FALLING);
You can have one interrupt handler attached to a pin. Which one is going to actually be attached?