From f1ece023c89d3cb6773ace1adf6e2d25ef195fcd Mon Sep 17 00:00:00 2001 From: Alex Ungureanu <alexagungureanu@gmail.com> Date: Tue, 11 Mar 2025 11:53:50 +0200 Subject: [PATCH] fix ex 8 --- website/lab/02/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/lab/02/index.mdx b/website/lab/02/index.mdx index 4025844..fba0a1d 100644 --- a/website/lab/02/index.mdx +++ b/website/lab/02/index.mdx @@ -535,9 +535,9 @@ flowchart LR 8. Extend the traffic light to include a flashing blue LED for pedestrians. When the pedestrian button is pressed, the traffic light switches to yellow - and waits one second. After that, it switches on the red light and flashed + and waits one second. After that, it switches on the red light and flashes the blue pedestrian light. After 5 seconds, the traffic light switches back - to red and stops the blue flashing. (**2p**) + to green and stops the blue flashing. (**2p**) ```mermaid flowchart LR @@ -567,7 +567,7 @@ flowchart LR  :::note -Letters in mores code are case insensitive. You can use the [`char::to_ascii_uppercase`](https://doc.rust-lang.org/beta/core/primitive.char.html#method.to_ascii_uppercase) +Letters in Morse Code are case insensitive. You can use the [`char::to_ascii_uppercase`](https://doc.rust-lang.org/beta/core/primitive.char.html#method.to_ascii_uppercase) or [`u8::to_ascii_uppercase`](https://doc.rust-lang.org/std/primitive.u8.html#method.to_ascii_uppercase) functions to convert a `char` or `u8` to uppercase. ::: -- GitLab