Electrum blinky Example
From Manuals
(Difference between revisions)
(Created page with '=Blinks user LED (blinky)= ==Compatibility [http://www.micromint.com/index.php/SBC/electrum100.html Electrum 100]==') |
|||
| Line 1: | Line 1: | ||
=Blinks user LED (blinky)= | =Blinks user LED (blinky)= | ||
==Compatibility [http://www.micromint.com/index.php/SBC/electrum100.html Electrum 100]== | ==Compatibility [http://www.micromint.com/index.php/SBC/electrum100.html Electrum 100]== | ||
| + | This example blinks the green user LED (ds2) connected to microcontroller pin PA30. | ||
| + | |||
| + | The yellow LED (ds1) connected to pin PA25 is normally used for the Linux heartbeat but could be overridden by applications by changing the trigger. | ||
| + | |||
| + | echo none >/sys/class/leds/ds1/trigger | ||
Revision as of 17:34, 5 January 2011
Blinks user LED (blinky)
Compatibility Electrum 100
This example blinks the green user LED (ds2) connected to microcontroller pin PA30.
The yellow LED (ds1) connected to pin PA25 is normally used for the Linux heartbeat but could be overridden by applications by changing the trigger.
echo none >/sys/class/leds/ds1/trigger
