Skip to content

Commit a2422d9

Browse files
committed
sudo removed from LED control
1 parent 646783b commit a2422d9

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/02.uno/boards/uno-q/tutorials/01.user-manual

1 file changed

+2
-2
lines changed

content/hardware/02.uno/boards/uno-q/tutorials/01.user-manual/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ LEDs #1 and #2 are controlled by the MPU.
287287
There is a dedicated LED interface in our Linux OS for controlling these LEDs, they can be controlled via `/sys/class/leds` from the **Command Line**, using **SSH**, an **ADB** connection from your PC terminal or by using the Linux built-in terminal application when used in single-board computer mode:
288288

289289
```bash
290-
echo 1 | sudo tee /sys/class/leds/red:user/brightness # set HIGH/ON
291-
echo 0 | sudo tee /sys/class/leds/red:user/brightness # set LOW/OFF
290+
echo 1 | tee /sys/class/leds/red:user/brightness # set HIGH/ON
291+
echo 0 | tee /sys/class/leds/red:user/brightness # set LOW/OFF
292292
```
293293

294294
![Linux LED control](assets/linux-led-control.gif)

0 commit comments

Comments
 (0)