  left: `{:#010b}`,
 right: `{:#010b}`"#, left_val, right_val)
                }
            }
        }
    });
}


pub fn create_sx1278() -> (SX1278<MockSpi, MockPin, LoRa>, Rc<RefCell<MockDevice>>) {
    let device = Rc::new(RefCell::new(MockDevice::new()));
    let sx = SX1278::new_lora(
        MockSpi::new(Rc::clone(&device)),
        MockPin::new(Rc::clone(&device))