Interrupt variable exceeds volatile long's 8bit size

Then long is 32 bits and can hold numbers between around -2000 million and +2000 million.

1 Like