TQMa62xx - YOCTO Linux BSP documentation
User LED

The MBa62xx has two user controllable LEDs, the behavior of these LEDs can be selected by several triggers.
The user LED's are located in /sys/devices/platform/gpio-leds/leds/.
To change the behaviour a specific LED, the value in the file trigger must be overwritten.
The user LED's are located in /sys/devices/platform/gpio-leds/leds/.
To change the behaviour a specific LED, the value in the file trigger must be overwritten.
For example set the trigger of led1 to heartbeat
echo heartbeat > /sys/class/leds/led1/trigger