MCPcopy Create free account
hub / github.com/SharpCoder/teensycore / print

Function print

src/debug.rs:145–153  ·  view source on GitHub ↗
(message: &[u8])

Source from the content-addressed store, hash-verified

143}
144
145pub fn print(message: &[u8]) {
146 if UART_SERIAL {
147 serial_write(SerioDevice::Default, message);
148 }
149
150 if USB_SERIAL {
151 usb_serial_write(message);
152 }
153}
154
155/// Write out a u32, in hex format, along with a string of data
156/// to Uart4. This is useful for debugging memory addresses.

Callers

nothing calls this directly

Calls 2

serial_writeFunction · 0.85
usb_serial_writeFunction · 0.85

Tested by

no test coverage detected