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

Electrum blinky Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
==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.
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 used for the Linux heartbeat but could be overridden by applications by changing the trigger.
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
  echo none >/sys/class/leds/ds1/trigger

Revision as of 17:35, 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