taktran / rpi-leds

Node.js library to control Raspberry Pi onboard LEDs
10 stars 1 forks source link

Expose other trigger options #2

Open taktran opened 9 years ago

taktran commented 9 years ago

These are the default trigger options

pi@raspberrypi ~ $ cat /sys/class/leds/led0/trigger
none [mmc0] timer oneshot heartbeat backlight gpio cpu0 cpu1 cpu2 cpu3 default-on input rfkill0

Expose these, so they can be set.