1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![no_std] #![no_main] use vex_rt::prelude::*; struct PanicBot; impl Robot for PanicBot { fn new(_peripherals: Peripherals) -> Self { panic!("Panic Message") } } entry!(PanicBot);