[][src]Crate teensy4_panic

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 4.1 boards.

Usage

Depend on teensy4-panic:

[dependencies]
teensy4-panic = # ...

Then, include the crate in your final program:

use teensy4_panic as _;

Finally, use panic!() to stop the program, and blink the LED.