This project insprired this ruby version of code. I heavily used the work from the linux drivers to find out how to interact with the USB lamp.
Install the following dependencies:
- libusb - The core C drivers that give access to USB devices
- libusb ruby bindings - Note this library is different from the ruby-usb bindings
require './notifier.rb'
notifier = EmailNotifier.new
notifier.colour! RED
Report issues here
Open sourced under the MIT license