From 456a3b2ffb14b4a7305ed6341eb2c9c77612cc9f Mon Sep 17 00:00:00 2001 From: Ioana-Maria RADOVICI <ioana_maria.culic@upb.ro> Date: Wed, 19 Mar 2025 10:59:51 +0000 Subject: [PATCH] Added warning for LED wiring. --- website/lab/02/index.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/lab/02/index.mdx b/website/lab/02/index.mdx index b0a9aa4..bf35053 100644 --- a/website/lab/02/index.mdx +++ b/website/lab/02/index.mdx @@ -287,6 +287,7 @@ pin.set_high(); pin.set_low(); ``` + :::tip While the device initialization is specific to every hardware device (the example uses the @@ -410,6 +411,12 @@ uses one pin for control. Each LED connector has one single hole on the board, marked with `RED`, `GREEN`, `BLUE` and `YELLOW` respectively. These are located in the **Connectors** section of the board. +:::warning + +The LEDs are connected so they will light up if the pin is set to `Level::Low` and turn off if the pin is set to `Level::High`. + +::: + The four switches that the lab board provides are signaled with labels `SW4`, `SW5`, `SW6` and `SW7` in the connectors section. -- GitLab