Led with Xilinx Zynq
LED with RPi
The user LED on RPi is labelled ACT, and it is controllable directly using Linux LED subsystem, as default it is assigned to SD Card activity, that is why it is labelled "ACT".
First you nee to be root.
sudo -i<ENTER>
password root<ENTER>
set password for root and reboot and log in as root.
cd /sys/class/leds/led0
cat none > trigger
Now we are ready to control the user LED on Raspberry
cat 1 > brightness
cat 0 >brightness
cat heartbeat > trigger
The above 3 lines show how to control the LED on, off and set to blink..!
Overview
Content Tools