pygamer-panic-led 0.1.0

Set pygamer d13 led on panic
Documentation

pygamer-panic-led

Set the panicking behavior to enable the d13 red led on the back of the pygamer. It steals the underlying d13 pin, sets it to function_a and then into_push_pull before enabling, so you COULD still use it for during normal program operation.

Usage

#![no_std]
use pygamer as hal;

use pygamer_panic_led as _;

#[hal::entry]
fn main() {
    panic!("argument is ignored");
}