From 8f96d1c0095b7699195202dbac984c41c6ed4db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vl=C4=83du=C8=9B-Andrei=20CHIN=C8=9AOIU?= <vladut.chintoiu@stud.fils.upb.ro> Date: Thu, 20 Mar 2025 22:20:28 +0000 Subject: [PATCH] Fixed state error --- website/lab/03/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/lab/03/index.mdx b/website/lab/03/index.mdx index 26ec2a2..5c20a5c 100644 --- a/website/lab/03/index.mdx +++ b/website/lab/03/index.mdx @@ -479,7 +479,7 @@ loop { :::info If you need to remember the layout of the board, check the [Lab Board](./02#the-lab-board) section from the previous lab. -Remember that LEDs are wired so they light up on `Level::Low` and turn off on `Level::Low` and buttons return `Level::Low` when pressed and `Level::High` when not pressed. +Remember that LEDs are wired so they light up on `Level::Low` and turn off on `Level::High` and buttons return `Level::Low` when pressed and `Level::High` when not pressed. ::: :::danger @@ -492,7 +492,7 @@ Please make sure the lab professor verifies your circuit before it is powered up :::info You should use the lab skeleton provided in the [Lab Repository](https://github.com/UPB-PMRust/lab-2025) as a starting point for your implementation. -Embassy will reset all the peripherals when the `main` function exists, that means `PWM` and `ADC` will stop. Make sure the `main` function never exits so you can see how the circuit behaves. +Embassy will reset all the peripherals when the `main` function exits, that means `PWM` and `ADC` will stop. Make sure the `main` function never exits so you can see how the circuit behaves. ::: 2. Write a program using Embassy to control the led intensity using a potentiometer. The potentiometer is connected to an ADC-capable GPIO pin. The LED should change intensity based on the potentiometer's position. (**2p**) -- GitLab