From d37d5726ce73cdbfe1df4f537998b4b7e0d0df01 Mon Sep 17 00:00:00 2001 From: Michael Mogenson Date: Wed, 27 Mar 2019 11:37:44 -0400 Subject: [PATCH] write_fmt() method needed for write!() macro Include `use core::fmt::Write;` in serial example. --- src/hello-world/02.00.UART.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hello-world/02.00.UART.md b/src/hello-world/02.00.UART.md index b661a02..4b7af7d 100644 --- a/src/hello-world/02.00.UART.md +++ b/src/hello-world/02.00.UART.md @@ -24,6 +24,7 @@ To read and write to the serial bus from your computer, you will need to configu ## Code ``` rust +use core::fmt::Write; use microbit::hal::prelude::*; use microbit::hal::serial; use microbit::hal::serial::BAUD115200;