serial_write

Simplifying serial output in a no_std environment, both string and numeric.

List of possible output types

How to use

1. Prepare SerialPort

```rust // Set the USB bus let usb_bus = UsbBusAllocator::new(hal::usb::UsbBus::new(...));

// Set the serial port let mut serial = SerialPort::new(&usb_bus); ```

2. Create Writer

rust let mut writer = Writer::new();

3. Output strings or numbers.

```rust // Output "123". writer.write_usize(123, &mut serial);

// Output "123" and break line. writer.writeln_usize(123, &mut serial);

// Output to 2 decimal places ("12.34"). writer.write_usize(12.3456, 2, &mut serial); ```