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

Electrum blinky Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Compatibility Electrum 100)
 
(2 intermediate revisions not shown)
Line 3: Line 3:
This example blinks the green user LED (ds2) connected to microcontroller pin PA30.
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.
+
[[Image:Electrum_blinky.png|center|]]
-
  echo none >/sys/class/leds/ds1/trigger
+
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