@@ -68,7 +68,7 @@ async fn main(_spawner: Spawner) {
6868 // - MOSI - D11 (PA7)
6969 // - CLK - D13 (PA5)
7070 //
71- // We need a blocking SPI as the `mididsi ` display drivers require a blocking SPI device.
71+ // We need a blocking SPI as the `mipidsi ` display drivers require a blocking SPI device.
7272 let spi = Spi :: new_blocking (
7373 peripherals. SPI1 ,
7474 peripherals. PA5 ,
@@ -77,7 +77,7 @@ async fn main(_spawner: Spawner) {
7777 spi:: Config :: default ( ) ,
7878 ) ;
7979
80- // Create a Mutex that so that we can safely share the SPI bus between devices.
80+ // Create a Mutex so that we can safely share the SPI bus between devices.
8181 //
8282 // Due to the Mutex, only one device will have access to the bus at a time.
8383 let spi_bus_mutex: Mutex < NoopRawMutex , _ > = Mutex :: new ( RefCell :: new ( spi) ) ;
@@ -128,9 +128,9 @@ async fn main(_spawner: Spawner) {
128128 screen. clear ( Rgb565 :: BLACK ) . unwrap ( ) ;
129129 let mut style = MonoTextStyle :: new ( & FONT_6X10 , Rgb565 :: WHITE ) ;
130130
131- // We set the background color to print the characters with a background, so that we can
132- // fully overwrite the previous text. Unless we use a background color , the text will
133- // superpose the letters and digits on the old text.
131+ // We set the background color to print characters with a background, so that we can
132+ // fully overwrite the previous text. Otherwise , the new text will just be drawn
133+ // on top of the old text, making it unreadable .
134134 style. set_background_color ( Some ( Rgb565 :: BLACK ) ) ;
135135
136136 if mpu6500. is_connected ( ) {
0 commit comments