Which method should be preferred to switch on and off e.g. USR3-LED?
16 views
Skip to first unread message
Michael
unread,
Feb 12, 2012, 1:52:50 PM2/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Beagle Board
Hello,
the USR3 LED can be switched on and off by either
# echo 1 > /sys/class/leds/beaglebone::usr3/brightness
or
# echo 1 > /sys/devices/platform/leds-gpio/leds/beaglebone::usr3/
brightness
As both procedures work I am wondering which one is "better" or should
be preferred or what is the difference?
Best regards,
Michael
Koen Kooi
unread,
Feb 12, 2012, 3:44:10 PM2/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beagl...@googlegroups.com
They are the same interface, the first one is preferred since that doens't require you to know that LED 3 is internally using the leds-gpio driver.