Panic handler for the Teensy 4
When you link
teensy4-panic into your program, any
panic!() will cause
your Teensy's LED to blink S.O.S. in Morse code. Supports both Teensy 4.0 and
[dependencies] teensy4-panic = # ...
Then, include the crate in your final program:
use teensy4_panic as _;
panic!() to stop the program, and blink the LED.