Open m1cje opened 1 year ago
When using interrupts the MCU will randomly hang and/or reset. Probably this is due to the global variables accessed by the read() function are not declared as volatile.
When using interrupts the MCU will randomly hang and/or reset. Probably this is due to the global variables accessed by the read() function are not declared as volatile.