A ruby script to flash arbitary lights in morse code with sysfs. (only works on linux)
- download
flasher.rbandsudo chomod +x flasher.rb - find the
brightnessfile of the light you want to flash in/sys/class/ - edit
@lightto your chosen lights brightness file - to use the script:
sudo ./flasher.rb your text here - change
@looptotrueto enable loop mode - while in loop mode press q then enter to quit gracefully
- other config options such as brightness level and blink duration are labeled in the script