EBC Exercise 17 Switching a GPIO to an LED
Embedded Linux Class by Mark A. Yoder
Most GPIOs are accessed through /sys/class/gpio
. The builtin LEDs are accessed through /sys/class/leds
.
LEDs accessed this way have special powers (the trigger).
This exercise shows how to make an LED attached to on of the GPIO to appear in the /sys/class/leds
interface.
journalctl
Embedded Linux Class by Mark A. Yoder