LedBorg-Bob - Boblight plugin for LedBorg

This is an old driver based LedBorg example
We recommend using the new driver free based scripts for LedBorg.
The new driver free examples can be found here, the installation can be found here.

LedBorg-Bob is a small executable which is suitable for connecting an LedBorg to Boblight.

LedBorg-Bob implements the popen based device, which gets passed 3 floating-point (fractional) numbers between 0 and 1 for each of the red, green, and blue channels.

If you do not already have Boblight it can be installed by the following terminal commands:

sudo apt-get -y install subversion
cd ~
svn checkout http://boblight.googlecode.com/svn/trunk/ boblight
cd boblight
./configure --without-portaudio --without-libusb
make
sudo make install
sudo ldconfig

When you have Boblight ready the following terminal commands will download, build, and setup Boblight to talk to LedBorg-Bob:

mkdir ~/ledborg-bob
cd ~/ledborg-bob
wget -O bob.zip http://www.piborg.org/downloads/ledborg/bob.zip
unzip bob.zip
make
sudo cp ledborg-bob /usr/local/bin/
sudo cp boblight.conf /etc/
sudo boblightd &

Note this will overwrite /etc/boblight.conf, if you already have settings you should probably make a copy and edit them to use LedBorg-Bob using the downloaded boblight.conf as an example.
Manually download here: http://www.piborg.org/downloads/ledborg/bob.zip

Finally to test use the following to check colours:

  • Full Red
    boblight-constant FF0000
  • Full Green
    boblight-constant 00FF00
  • Full Blue
    boblight-constant 0000FF
  • Low Cyan
    boblight-constant 008080
  • Low Magenta
    boblight-constant 800080
  • Low Yellow
    boblight-constant 808000
  • Full White
    boblight-constant FFFFFF

This example uses gcc and make to build a C source file, they should already be installed but if you get an error about either being missing, enter the following into a terminal:
sudo apt-get -y install gcc
sudo apt-get -y install make

Subscribe to Comments for "LedBorg-Bob - Boblight plugin for LedBorg"