SEARCH
TOOLBOX
LANGUAGES
modified on 5 January 2011 at 17:36 ••• 18,107 views

Electrum blinky Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Created page with '=Blinks user LED (blinky)= ==Compatibility [http://www.micromint.com/index.php/SBC/electrum100.html Electrum 100]==')
(Compatibility Electrum 100)
 
(3 intermediate revisions not shown)
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.
 +
 +
[[Image:Electrum_blinky.png|center|]]
 +
 +
The yellow LED (ds1) connected to pin PA25 is normally triggered by the Linux heartbeat but could be overridden by changing the trigger.
 +
 +
electrum100:~# echo none >/sys/class/leds/ds1/trigger

Current revision as of 17:36, 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 triggered by the Linux heartbeat but could be overridden by changing the trigger.

electrum100:~# echo none >/sys/class/leds/ds1/trigger