I read that you should be careful with Serial in interrupt handlers: https://www.arduino.cc/reference/en/lan ... interrupt/
That page says that millis() does not increment inside the handler but it might work for what you are doing.
Search found 1 match
- 02 Aug 2019 00:13
- Forum: Z-Uno
- Topic: Hardware interrupt and zunoSendReport()
- Replies: 6
- Views: 6288