Skip to main content

Blink LED on i.MX 8M Plus

To blink the LED on your virtual i.MX 8M Plus device, do the following:

  1. Create a new virtual i.MX 8M Plus device as explained in the Quickstart for i.MX 8M Plus tutorial, or go to an already existing device. Ensure that the Linux console is logged in. Note the LED representation at the right-bottom of the screen. In the default state it is on and solid.

  2. To blink the LED type echo heartbeat > /sys/class/leds/yellow:status/trigger into the console. The LED will now be blinking.

    LED blinking