Function avr_oxide::oserror::set_debug_pin

source ·
pub fn set_debug_pin(pin: &'static dyn Pin)
Expand description

Set the pin which will be used when an OS error occurs to transmit the error code.

§Default pin for Arduino

If avr_oxide is built with the arduino feature, the default pin corresponding to the Arduino’s debug LED will already be set, and it is not necessary to call this function. (It is still permissible to do so to use an alternative pin if desired, however.)