{% extends "Default/default.html" %} {% block content %}
LED0/DS2


LED1/DS3


LED2/DS5


LED3/DS4

Instructions

There are 4 GPIO LEDs on the Ultra96 that can be controlled by the user and are located as shown in the image above. A user can control the LEDs through this webapp by changing what state they should be or what trigger they should be. The states are simply "On" and "Off" but the triggers are more confusing since they can provide more useful information to the user. The table of triggers and what they do is listed below. It is important to note that the triggers only turn "On" when triggered and start in the "Off" state.

Trigger Definition
heartbeat A heartbeat provided by linux to know that it is still active
backlight To indicate LCD backlight status. Turns ON when LCD backlight is ON else turns OFF
gpio A trigger to turn ON LED when Input or output operations are being performed with any of the GPIO else turns OFF LED
cpu0 A trigger to turn ON LED when CPU0 is being used and turn OFF when not in use
cpu1 A trigger to turn ON LED when CPU1 is being used and turn OFF when not in use
cpu2 A trigger to turn ON LED when CPU2 is being used and turn OFF when not in use
cpu3 A trigger to turn ON LED when CPU3 is being used and turn OFF when not in use
phy0tx A trigger turns ON LED when Wi-Fi is transmitting data else turns OFF LED
phy0rx A trigger turns ON LED when Wi-Fi is receiving data else turns OFF LED
{% endblock %}