I noticed that the PinChangeInt library wasn't actually being used in the Arduino code.
Also, the Arduino IDE autoformatter was key in finding the missing curly brace in #2. But it changes a lot of whitespace when it's run and I would like to make those changes here rather than in another issue since the commit will make it look like a lot has changed when really it's just whitespace.
There may be some other minor adjustments as well.
I noticed that the PinChangeInt library wasn't actually being used in the Arduino code.
Also, the Arduino IDE autoformatter was key in finding the missing curly brace in #2. But it changes a lot of whitespace when it's run and I would like to make those changes here rather than in another issue since the commit will make it look like a lot has changed when really it's just whitespace.
There may be some other minor adjustments as well.