Code Monkey home page Code Monkey logo

boblight's Introduction

boblight's People

Contributors

bobo1on1 avatar

boblight's Issues

Configuration error when using --without-ffmpeg flag

What steps will reproduce the problem?
1. ffmpeg library not installed
2. configure --without-ffmpeg
3.

What is the expected output? What do you see instead?
configure script still try to use ffmpeg.

What version of the product are you using? On what operating system?
Revision 416 on Cygwin, Windows 7 32bit

Please provide any additional information below.
By changing the code in configure
# Check whether --with-ffmpeg was given.
if test "${with_ffmpeg+set}" = set; then :
  withval=$with_ffmpeg; with_ffmpeg=check
fi

to

# Check whether --with-ffmpeg was given.
if test "${with_ffmpeg+set}" = set; then :
  withval=$with_ffmpeg; 
else
  with_ffmpeg=check
fi

it works. Not sure if it is completely correct though.

Original issue reported on code.google.com by [email protected] on 6 Feb 2012 at 7:05

Build error under Ubuntu 12.04

When compiling the latest source files (make install) under fresh installed and 
latest Ubuntu Beta 12.04 the following message appears in the terminal:

"libtool: link: g++ -g -O2 -o boblightd condition.o log.o misc.o mutex.o 
thread.o timer.o serialport.o timeutils.o main.o tcpsocket.o messagequeue.o 
client.o light.o configuration.o device.o devicepopen.o deviceltbl.o 
devicers232.o devicedioder.o signaltimer.o devicesound.o  -lportaudio -ldl -lm 
-lrt -lpthread
deviceltbl.o: In function `CDeviceLtbl::SetupDevice()':
/home/username/boblight-read-only/src/device/deviceltbl.cpp:34: undefined 
reference to `CDeviceRS232::OpenSerialPort()'
devicedioder.o: In function `CDeviceDioder::SetupDevice()':
/home/username/boblight-read-only/src/device/devicedioder.cpp:61: undefined 
reference to `CDeviceRS232::OpenSerialPort()'
collect2: ld returned 1 exit status


On the same system using Ubuntu 10.04 the problem did not occur!
Tried to search for such an error but without success so far...

Original issue reported on code.google.com by [email protected] on 3 Apr 2012 at 4:24

make error flagmanager.cpp

What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?

make[1]: Entering directory `/home/rudgas/boblight-read-only'
Making all in src
make[2]: Entering directory `/home/rudgas/boblight-read-only/src'
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT flagmanager.o -MD -MP -MF 
.deps/flagmanager.Tpo -c -o flagmanager.o `test -f 'clients/flagmanager.cpp' || 
echo './'`clients/flagmanager.cpp
clients/flagmanager.cpp: In member function ‘void 
CFlagManager::ParseFlags(int, char**)’:
clients/flagmanager.cpp:88:3: error: ‘opterr’ was not declared in this scope
clients/flagmanager.cpp:90:49: error: ‘getopt’ was not declared in this 
scope
clients/flagmanager.cpp:94:16: error: ‘optarg’ was not declared in this 
scope
clients/flagmanager.cpp:102:16: error: ‘optarg’ was not declared in this 
scope
clients/flagmanager.cpp:119:27: error: ‘optarg’ was not declared in this 
scope
clients/flagmanager.cpp:137:22: error: ‘optarg’ was not declared in this 
scope
clients/flagmanager.cpp:145:39: error: ‘optopt’ was not declared in this 
scope
clients/flagmanager.cpp:156:41: error: ‘optarg’ was not declared in this 
scope
clients/flagmanager.cpp:160:14: error: ‘optind’ was not declared in this 
scope
make[2]: *** [flagmanager.o] Error 1
make[2]: Leaving directory `/home/rudgas/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rudgas/boblight-read-only'
make: *** [all] Error 2


What version of the product are you using? On what operating system?
Latest Version,
3.3.1-1-ARCH x86_64


Original issue reported on code.google.com by [email protected] on 13 Apr 2012 at 2:39

Enhancement: Light Configuration Generator

I've created a quick-n-dirty light configuration generator in bash.

The process of calculating the positions of all of the lights and keeping track 
for the configuration file can be pretty cumbersome, running this script allows 
you to enter the amount of lights on each side of the screen and will generate 
the light section for you automatically.

Hopefully it'll be of use to someone.


Original issue reported on code.google.com by [email protected] on 29 Dec 2011 at 4:10

Attachments:

Patch to support KarateLight devices

Hi,

since I could not find another way to send in a patch, I am using the Tracker :)

Attached is a patch that adds support for 'KarateLight' devices. It is a 8 (or 
with extension-pcb 16Channels) RGB-Dimmer.
Schematics and Firmware can be found here:
http://ca.rstenpresser.de/~cpresser/data/karate/

Without the patch the prefix and color data were send in two messages. Since 
Karatelight expects this to be just one message, I have changed the code to 
always send the prefix and color-data in one burst. This should not break other 
devices.
At least, the AtmoLight device still works fine with the patch applied.

Greetings
Carsten

Original issue reported on code.google.com by [email protected] on 10 Dec 2010 at 2:36

Attachments:

OLA support

OLA is the open lighting architecture. It's a mature client/server based 
lighting system, mainly for use with DMX lighting fixtures.  You will find OLA 
at http://code.google.com/p/linux-lighting/

olabob.tar.gz contains:

* a native OLA driver for boblightd. 
* a popen protocol plugin for boblightd (not so good)

OLA supports the following devices & protocols:

ArtNet  
E1.31 / ACN     
ESP Net     
Pathport    
Sandnet     
ShowNet     

Anyma uDMX  
Arduino RGB Mixer   
DMX 4 Linux     
DMX USB Pro     
DMX-TRI     
DMXking USB DMX512-A    
Open DMX USB    
Packetheads USB_DMX Dongle  
RDM-TRI     
StageProfi (Ethernet version only)
uDMX_asp    
USBDMX2         
Velleman K8062


To build either, you will need to build and install ola first. (see 
http://opendmx.net/index.php/OLA_on_Linux)

the src directory contains only the files i've changed/created from the SVN 
version I obtained on 28th July 2010.

Automake could not be convinced to search /usr/local/lib from the AM_CHECK_LIBS 
so I had to add LD flags in src/Makefile.am 

Hippy (2010)

Original issue reported on code.google.com by [email protected] on 1 Aug 2010 at 6:19

Build Error in Ubuntu 11.04 x86 in R446

What steps will reproduce the problem?
1. Build portaudio V19 from src
2. Build boblight --without-ffmpeg --without-ola

What is the expected output? What do you see instead?

libtool: link: g++ -g -O2 -o boblightd condition.o log.o misc.o mutex.o 
thread.o timer.o serialport.o timeutils.o main.o tcpsocket.o messagequeue.o 
client.o light.o configuration.o device.o devicepopen.o devicers232.o 
deviceltbl.o devicedioder.o signaltimer.o devicesound.o deviceibelight.o  
/usr/lib/libportaudio.so /usr/lib/libusb-1.0.so -ldl -lm -lrt -lpthread -pthread
devicesound.o: In function `CDeviceSound::SetupDevice()':
/tmp/boblight-read-only/src/device/devicesound.cpp:71: undefined reference to 
`Pa_GetDeviceCount'
/tmp/boblight-read-only/src/device/devicesound.cpp:92: undefined reference to 
`Pa_GetHostApiInfo'
/tmp/boblight-read-only/src/device/devicesound.cpp:107: undefined reference to 
`Pa_GetHostApiInfo'
/tmp/boblight-read-only/src/device/devicesound.cpp:141: undefined reference to 
`Pa_IsFormatSupported'
collect2: ld returned 1 exit status
make[2]: *** [boblightd] Error 1
make[2]: Leaving directory `/tmp/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/boblight-read-only'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Ubuntu 11.04, portaudio V19

Please provide any additional information below.
Building --without-portaudio works, but I need sound support

Original issue reported on code.google.com by [email protected] on 28 Aug 2012 at 10:28

Boblightd compiled for Enigma2 (mipsel), dreambox. WriteBytes Output wrong!

I have compiled the boblightd for my dreambox.
See the attachement.

I i run boblightd i see only:
/dev/ttyUSB0 write: 41 64 61 00 31 64 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff 

And my lights go on, and have the color White.

If i run boblight-constant FFCC00 (also in attachement), i see only white (ff 
ff ff ff ff ).

If i run the same on Ubuntu i see, for black
/dev/ttyUSB0 write: 41 64 61 00 31 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

and for FFCC00
/dev/ttyUSB0 write: 41 64 61 00 31 64 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff cc 
00 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff cc 00 ff 
cc 00 ff cc 00 ff cc 00 ff cc 00 
That's good.

What version of the product are you using? On what operating system?
Boblightd 2.0 on Engima2 Box, on image OpenPli2.1

Who can help me, to figure out this problem.
I think it's a problem with the ftdi_sio ?

Original issue reported on code.google.com by [email protected] on 14 Feb 2012 at 7:32

Attachments:

error while compiling

What steps will reproduce the problem?
1.configure 
2.make 
3.

What is the expected output? What do you see instead?
In file included from configuration.h:29,
                 from main.cpp:29:
device/devicesound.h:60: error: ISO C++ forbids declaration of
‘PaStreamCallbackTimeInfo’ with no type
device/devicesound.h:60: error: expected ‘,’ or ‘...’ before ‘*’ 
token


What version of the product are you using? On what operating system?
readonly-svn at 18.05.2010 17:24
mythbuntu 9.10


Original issue reported on code.google.com by [email protected] on 18 May 2010 at 3:25

11.11 Build issue

Ubuntu 11.11, some libs seems to be to old in boblight =/

Any ideas?


g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT videograbber.o -MD -MP -MF 
.deps/videograbber.Tpo -c -o videograbber.o `test -f 
'clients/boblight-v4l/videograbber.cpp' || echo 
'./'`clients/boblight-v4l/videograbber.cpp
clients/boblight-v4l/videograbber.cpp: In Elementfunktion »void 
CVideoGrabber::Setup()«:
clients/boblight-v4l/videograbber.cpp:70:18: Warnung: 
»AVFormatParameters::time_base« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:244) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:70:18: Warnung: 
»AVFormatParameters::time_base« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:244) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:71:18: Warnung: 
»AVFormatParameters::time_base« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:244) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:71:18: Warnung: 
»AVFormatParameters::time_base« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:244) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:72:18: Warnung: 
»AVFormatParameters::channel« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:250) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:72:18: Warnung: 
»AVFormatParameters::channel« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:250) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:73:18: Warnung: 
»AVFormatParameters::width« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:247) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:73:18: Warnung: 
»AVFormatParameters::width« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:247) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:74:18: Warnung: 
»AVFormatParameters::height« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:74:18: Warnung: 
»AVFormatParameters::height« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:75:18: Warnung: 
»AVFormatParameters::standard« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:75:18: Warnung: 
»AVFormatParameters::standard« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:76:18: Warnung: 
»AVFormatParameters::pix_fmt« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:76:18: Warnung: 
»AVFormatParameters::pix_fmt« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:85:15: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:85:115: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:96:17: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:96:117: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:105:17: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:105:117: Warnung: »int 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)« ist veraltet (deklariert bei 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:116:3: Warnung: »void 
dump_format(AVFormatContext*, int, const char*, int)« ist veraltet 
(deklariert bei /usr/include/libavformat/avformat.h:1458) 
[-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:116:72: Warnung: »void 
dump_format(AVFormatContext*, int, const char*, int)« ist veraltet 
(deklariert bei /usr/include/libavformat/avformat.h:1458) 
[-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:122:59: Fehler: »CODEC_TYPE_VIDEO« 
wurde in diesem Gültigkeitsbereich nicht definiert
clients/boblight-v4l/videograbber.cpp: In Elementfunktion »void 
CVideoGrabber::Run(volatile bool&, void*)«:
clients/boblight-v4l/videograbber.cpp:240:92: Fehler: 
»avcodec_decode_video« wurde in diesem Gültigkeitsbereich nicht 
definiert


Original issue reported on code.google.com by [email protected] on 14 Oct 2011 at 4:23

boblight-getpixel.exe only UDP but boblight is tcp ?

What steps will reproduce the problem?
1. boblight-getpixel.exe is not working with latest version of Boblight because 
boblight-getpixel.exe is trying to connect via UDP, but boblight is expecting 
TCP

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
SVN 416

Please provide any additional information below.
above should explain all, but I am not sure if boblight-getpixel.exe is 
maintained here. If not, sorry :)

Original issue reported on code.google.com by [email protected] on 9 Feb 2012 at 2:36

Fail to compile under Ubuntu 11.10

What steps will reproduce the problem?
1. Following the guide under Ubuntu 11.10. 



What is the expected output? What do you see instead?


when I execute 'make' it returns this error:


antonio@antonio-VGN-FZ31S:~$ cd boblight-read-only/ 
antonio@antonio-VGN-FZ31S:~/boblight-read-only$ make
make  all-recursive
make[1]: ingresso nella directory "/home/antonio/boblight-read-only"
Making all in src
make[2]: ingresso nella directory "/home/antonio/boblight-read-only/src"
source='lib/boblight-client.cpp' object='libboblight_la-boblight-client.lo' 
libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../depcomp \
    /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight-client.lo `test -f 'lib/boblight-client.cpp' || echo './'`lib/boblight-client.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight-client.cpp  -o 
.libs/libboblight_la-boblight-client.o
../libtool: riga 984: g++: comando non trovato
make[2]: *** [libboblight_la-boblight-client.lo] Errore 1
make[2]: uscita dalla directory "/home/antonio/boblight-read-only/src"
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/antonio/boblight-read-only"
make: *** [all] Errore 2



What version of the product are you using? On what operating system?

Ubuntu 11.10



Original issue reported on code.google.com by [email protected] on 9 Oct 2011 at 1:01

Problem using Boblight with Games

Hello,

when i'm trying to use Boblight with some newer games such as BF3, my device 
just acts like it's timed out. If i switch from fullscreen to window mode, i 
will only get the colors from my desktop. My game has the same resolution as my 
desktop in fullscreen mode. I'm using Windows 7 x64 with Boblight 1.3 Beta 1. 
In all other cases Boblight works very well. Is there an option in the settings 
which can fix my problem, or is this a known issue?

best regards


Original issue reported on code.google.com by [email protected] on 4 Feb 2012 at 5:30

make: Cannot find a rule to create target «src/lib/libboblight.h»

What steps will reproduce the problem?
1. svn checkout http://boblight.googlecode.com/svn/trunk/ boblight-read-only
2. cd boblight-read-only/
3. ./configure
4. make

What is the expected output? What do you see instead?
Compilation works almost fine, it stops because it can't find a rule to
create libboblight.h (after first run the src folder contains boblightd,
boblight-X11 and so on)

What version of the product are you using? On what operating system?
I'm trying to compile on Ubuntu 9.10, GNU Make 3.81 and gcc version 4.4.1

Please provide any additional information below.
Here is the command line output of the second run of "make" (Italian
localization)

make  all-recursive
make[1]: ingresso nella directory
«/home/tito/Documenti/Workspace/boblight-read-only»
Making all in src
make[2]: ingresso nella directory
«/home/tito/Documenti/Workspace/boblight-read-only/src»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory
«/home/tito/Documenti/Workspace/boblight-read-only/src»
make[2]: ingresso nella directory
«/home/tito/Documenti/Workspace/boblight-read-only»
make[2]: *** Nessuna regola per creare l'obiettivo «src/lib/libboblight.h»,
necessario a «all-am».  Arresto.
make[2]: uscita dalla directory
«/home/tito/Documenti/Workspace/boblight-read-only»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory
«/home/tito/Documenti/Workspace/boblight-read-only»
make: *** [all] Errore 2

Original issue reported on code.google.com by [email protected] on 21 Nov 2009 at 10:39

Problem with WinXP and Linux

Best regards to all .

I have Boblight with Arduino Duemilanove (rev 2011) with Chip ATmega328 . And 
uses two drivers TCL5940 on 32 channels leds strip .
On Windows XP perfect with the sketch ;

***************************************************


#include "Tlc5940.h"

void setup()
{
  Tlc.init(0);
  Serial.begin(115200);
}

void loop()
{
  if(Serial.available() >= 31 && Serial.read() == 0xff)
  {
    for(int i=1; i<16; ++i)
    {
      Tlc.set(i, map(Serial.read(), 0, 255, 0, 4095));
    }
    for(int i=17; i<32; ++i)
    {
      Tlc.set(i, map(Serial.read(), 0, 255, 0, 4095));
    }
    Tlc.update();
  }  
}

**************************************************


After Check your arduino code and not work correct. 


My solution is implementation code prefix add 55 AA online for linux
in above example .


How to do prefix " prefix 55 AA " code previous sketch ?


Thanks you Bob .
Best Regards .

Original issue reported on code.google.com by [email protected] on 27 Jun 2012 at 1:32

Boblightd won't compile on Ubuntu

When trying to compile boblightd on Ubuntu 11.10 32-bits I get this error when 
trying to make:

xbmc@mediacenter:~/boblight-read-only$ make
make  all-recursive
make[1]: Entering directory `/home/xbmc/boblight-read-only'
Making all in src
make[2]: Entering directory `/home/xbmc/boblight-read-only/src'
source='lib/boblight_client.cpp' object='libboblight_la-boblight_client.lo' 
libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../depcomp \
    /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight_client.lo `test -f 'lib/boblight_client.cpp' || echo './'`lib/boblight_client.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight_client.cpp  -o 
.libs/libboblight_la-boblight_client.o
../libtool: line 984: g++: command not found
make[2]: *** [libboblight_la-boblight_client.lo] Error 1
make[2]: Leaving directory `/home/xbmc/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight-read-only'
make: *** [all] Error 2

What am I doing wrong here? I used the latest SVN version.

Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 10:43

Boblight client monitor system

I have attached a .c file which I designed to allow me to be able to easily 
start/stop boblight clients from within other applications. This program starts 
an instance of the boblightd server, and then proceeds to monitor a 
configurable directory for any files modified / created.  At the moment, it 
looks for specific filenames being modified as a trigger for launching specific 
clients. For example, if the file /path/to/watch/dir/tv is modified, the 
boblight-X11 client is started. Only one client is active at a time, the 
previous one being killed when a new one is started.

The advantage of a system like this is that it allows clients to be 
started/stopped by other applications by simply running 'echo 1 > 
/path/to/watch/dir/tv' when TV playback starts to begin the 'classic' ambilight 
system, and 'echo 666666 > /path/to/wathc/dir/fixed' when it is paused/  
stopped to provide room lighting. This method means that other applications 
don't have to worry about permissions, or where they are running from, or any 
other sort of process management. I have used this with both MythTV system 
events (for the scenario described above) and a simple PHP webpage to implement 
a light controller.

There are still improvements to be made (a lot of stuff needs to be moved to a 
config file instead of being hardcoded), but I thought I would share this in 
case it was interesting / useful.  

Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 11:40

Attachments:

Do not send output without client

I'm using boblight with ola, so maybe it is plugin specific, but currently 
boblight does the following:

When boblight is started, my lights go black. I cannot control them with other 
software anymore. When a client connects, it adjusts lights correctly. When 
client disconnects, lights stay at the level of what client sent (and go black 
some time afterwards afaik). I still cannot control them with other software 
until I stop boblightd.

Can boblight (or is it the ola plugin?) be changed so that it only sends 
signals to light controllers if a client is connected? So when boblightd 
starts, it does not adjust anything until first client connects (and possibly 
until it sends first output?). When client disconnects, boblightd should again 
stop sending anything to the controllers.

Original issue reported on code.google.com by [email protected] on 24 Aug 2012 at 12:20

boblight-v4l won't build with current libavformat because AVFormatParameters was removed

What steps will reproduce the problem?
1. have ffmpeg version 1:0.11.1-1 installed
2. try compiling boblight

What is the expected output? What do you see instead?
i expect it to compile, instead i get:

make[2]: Entering directory 
`/home/fraxinas.sik/projects/rgbled/boblight-read-only/src'
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT boblight-v4l.o -MD -MP -MF 
.deps/boblight-v4l.Tpo -c -o boblight-v4l.o `test -f 
'clients/boblight-v4l/boblight-v4l.cpp' || echo 
'./'`clients/boblight-v4l/boblight-v4l.cpp
In file included from clients/boblight-v4l/boblight-v4l.cpp:28:0:
clients/boblight-v4l/videograbber.h:62:5: error: 'AVFormatParameters' does not 
name a type
clients/boblight-v4l/boblight-v4l.cpp: In function 'int main(int, char**)':
clients/boblight-v4l/boblight-v4l.cpp:79:14: error: 'fork' was not declared in 
this scope
clients/boblight-v4l/boblight-v4l.cpp: In function 'int Run()':
clients/boblight-v4l/boblight-v4l.cpp:105:15: error: 'sleep' was not declared 
in this scope
make[2]: *** [boblight-v4l.o] Error 1

What version of the product are you using? On what operating system?
compiled from svn rev 442
archlinux

Please provide any additional information below.
it seems ffmpeg deprecated AVFormatParameters a while ago and finally got rid 
off it: 
http://git.videolan.org/?p=ffmpeg.git&a=search&st=commit&s=AVFormatParameters



Original issue reported on code.google.com by [email protected] on 18 Jul 2012 at 9:36

Locale issues

There might be some locale issues regarding the conversion of floats to and
from ascii.
The C locale should be used for the config file, commandline arguments and
the client-server protocol, but not for the client-lib configuration interface.

This should be done with the imbue() method from stringstream, not with
setlocale().


Original issue reported on code.google.com by [email protected] on 24 Oct 2009 at 4:35

Build Error on FreeBSD 8.2

I am attempting to build boblight svn revision 398 on FreeBSD 8.2 amd64. 

I have installed audio/portaudio2 port - the header file is found, but not 
recognized. 

checking portaudio.h presence... yes
checking for portaudio.h... yes
checking for PaStreamCallbackTimeInfo... yes
checking for main in -lportaudio... no
configure: error: Missing a required library, please install it or disable it 
by passing --without-portaudio to configure
===>  Script "configure" failed unexpectedly.


In order to get configure-script to run, I need to disable both portaudio and 
ffmpeg. 
It still does not build. Running gmake (make is bsd-make on FreeBSD) gives the 
following errors: 

configure: WARNING: --without-portaudio passed, boblightd will not have support 
for sound devices
configure: WARNING: --without-ffmpeg passed, boblight-v4l will not be built
===>  Building for boblight-
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/misc/boblight/work'
Making all in src
gmake[2]: Entering directory `/usr/ports/misc/boblight/work/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..     
-O2 -pipe -fno-strict-aliasing -MT libboblight_la-boblight-client.lo -MD -MP 
-MF .deps/libboblight_la-boblight-client.Tpo -c -o 
libboblight_la-boblight-client.lo `test -f 'lib/boblight-client.cpp' || echo 
'./'`lib/boblight-client.cpp
mv -f .deps/libboblight_la-boblight-client.Tpo 
.deps/libboblight_la-boblight-client.Plo
mv: rename .deps/libboblight_la-boblight-client.Tpo to 
.deps/libboblight_la-boblight-client.Plo: No such file or directory
gmake[2]: *** [libboblight_la-boblight-client.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/misc/boblight/work/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/misc/boblight/work'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/misc/boblight.
*** Error code 1

Stop in /usr/ports/misc/boblight.

I don't understand why the file that the process tries to move is not available 
to the process. Perhaps someone could give me a hint in which direction I need 
to look further. 

Best regards. 
Emil

Original issue reported on code.google.com by [email protected] on 24 Nov 2011 at 2:02

Build Error "boblight-v4l/videograpper.cpp"

What steps will reproduce the problem?
grab souce by svn

run ./configure
run make

I get this build error:
clients/boblight-v4l/videograbber.cpp:122:59: error: ‘CODEC_TYPE_VIDEO’ was 
not declared in this scope
clients/boblight-v4l/videograbber.cpp: In member function ‘void 
CVideoGrabber::Run(volatile bool&, void*)’:
clients/boblight-v4l/videograbber.cpp:240:92: error: ‘avcodec_decode_video’ 
was not declared in this scope



Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 9:54

Docs need to be written

Documentation needs to be written for boblightd, boblight.conf, all the
clients, using the lib, the protocol and the hardware.

Also a getting started guide is needed.

Original issue reported on code.google.com by [email protected] on 13 Dec 2009 at 3:11

will not configure since r429

What steps will reproduce the problem?
1. Ubuntu 8.04 LTS
Installed are libx11-dev libgl1-mesa-dev libxrender-dev libavformat-dev 
libswscale-dev libxext-dev

When trying to configure with: ./configure --without-portaudio --prefix=/usr

it throws:
checking whether clock_gettime is declared... yes
checking for main in -lusb-1.0... no
checking libusb-1.0/libusb.h usability... no
checking libusb-1.0/libusb.h presence... no
checking for libusb-1.0/libusb.h... no
configure: error: Missing a required header, please install it

Since iBeLight support throws this.





Original issue reported on code.google.com by [email protected] on 24 Jun 2012 at 6:16

Error message when running boblight-constant.exe on Windowws 7

What steps will reproduce the problem?
1. Compile boblight via Cygwin
2. Put all required cygwin dll files in the same directory as 
boblight-constant.exe
3. Have boblightd.exe running (XBMC plugin working fine)
4. Run boblight-constant.exe FF0000

What is the expected output? What do you see instead?
No lights are turned on, instead just an error message.
c:\Boblight\new>boblight-constant.exe FF0000
ERROR: No such file or directory

What version of the product are you using? On what operating system?
Rev 416, Windows 7, 32Bit

Please provide any additional information below.
Same behaviour when trying to run boblight-X11.exe.

Original issue reported on code.google.com by [email protected] on 9 Feb 2012 at 7:29

4. channel for Atmega 128 does not work (no output)

What steps will reproduce the problem?
1. 4. channel does not work for Ardunio Atmega 128 (no output)
2. I have tried on windows so it does work on windows with amblone program for 
Arduino Atmega 128
3. So it has to be something wrong with .pde file 
http://code.google.com/p/boblight/source/browse/trunk/arduino/boblight_arduino_p
wm/boblight_arduino_pwm.pde and channel 11, 12, 13.



Original issue reported on code.google.com by [email protected] on 16 Jun 2011 at 6:43

[enhancement] initialisation string sent to lamp

I have a lamp which has multiple functions - as clients connect to the boblight 
I'd like to have boblight send an initialisation string in this case "7\x0D" 
which selects function 7 the boblight, then there's a 500ms wait period before 
a signal can be sent

I'd suggest the boblight.conf settings 

initstring = "7\x0D"

and 

delayafterinit = 500000


Original issue reported on code.google.com by [email protected] on 19 Aug 2012 at 5:35

boblight-v4l can't read input

I have my video grabber which uses v4l2 on /dev/video1.
I tested it with vlc which works flawless.
When i try to open the same source with:

boblight-v4l -c /dev/video1 -i 0

i get:

denis@utouch:~$ boblight-v4l -c /dev/video1 -i 0
Gamma not set, using 2.2 since this is default for video
Connecting to boblightd
Connection to boblightd opened
[video4linux2 @ 0x8c28d80] [4]Capabilities: 5020011
[video4linux2 @ 0x8c28d80] The V4L2 driver using the interlaced modeThe V4L2 
driver set input_id: 0, input: Composite1
[video4linux2 @ 0x8c28d80] Setting time per frame to 1/60
[video4linux2 @ 0x8c28d80] ioctl set time per frame(1/60) failed
[video4linux2 @ 0x8c28d80] ioctl(VIDIOC_DQBUF): Invalid argument
[video4linux2 @ 0x8c28d80] decoding for stream 0 failed
[video4linux2 @ 0x8c28d80] Estimating duration from bitrate, this may be 
inaccurate
ERROR: Unable to find stream info

I have a webcam in this notebook which works without a problem with:

denis@utouch:~$ boblight-v4l -c /dev/video0 -i 0
Gamma not set, using 2.2 since this is default for video
Connecting to boblightd
Connection to boblightd opened
[video4linux2 @ 0x931ad80] [4]Capabilities: 4000001
[video4linux2 @ 0x931ad80] The V4L2 driver changed the video from 64x64 to 
160x120
[video4linux2 @ 0x931ad80] The V4L2 driver set input_id: 0, input: Camera 1
[video4linux2 @ 0x931ad80] Setting time per frame to 1/60
[video4linux2 @ 0x931ad80] The driver changed the time per frame from 1/60 to 
1/30
[rawvideo @ 0x931b480] err{or,}_recognition separate: 1; 1
[rawvideo @ 0x931b480] err{or,}_recognition combined: 1; 1
[video4linux2 @ 0x931ad80] All info found
[video4linux2 @ 0x931ad80] Estimating duration from bitrate, this may be 
inaccurate
Input #0, video4linux2, from '/dev/video0':
  Duration: N/A, start: 1657.764477, bitrate: 9216 kb/s
    Stream #0.0, 1, 1/1000000: Video: rawvideo, yuyv422, 160x120, 1/30, 9216 kb/s, 30 tbr, 1000k tbn, 30 tbc
[rawvideo @ 0x931b480] err{or,}_recognition separate: 1; 1
[rawvideo @ 0x931b480] err{or,}_recognition combined: 1; 1
Got signal, setting priority to 128


I'm not sure if this is a problem with the libraries from ffmpeg while building 
boblight-v4l. Any ideas?

Original issue reported on code.google.com by denishamann on 29 Aug 2012 at 11:03

Build error when using Cygwin

What steps will reproduce the problem?
1. Building through cygwin, r413
2. ./configure --without-portaudio --without-ffmpeg
3. make

What is the expected output? What do you see instead?
Error when building, output:
util/condition.cpp: In member function ‘bool CCondition::Wait(int64_t)’:
util/condition.cpp:66:19: error: ‘CLOCK_REALTIME’ was not declared in this 
scope
util/condition.cpp:66:44: error: ‘clock_gettime’ was not declared in this 
scope


What version of the product are you using? On what operating system?
Revision 413, Windows 7 32bit through ygwin.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Feb 2012 at 3:53

Cant compile on ubuntu 10.10

avn-Version from today

configure:
...
checking for main in -lportaudio... yes
checking for main in -lX11      ... yes
checking for main in -lXrender  ... yes
checking for main in -lGL       ... yes
checking for main in -lavcodec  ... yes
checking for main in -lavformat ... no
configure: error: Missing a required library

libavformat is installed:
root@video:/usr/local/src/boblight-read-only# dpkg --list |grep avformat
ii  libavformat-dev                      4:0.6-2ubuntu6                         
           development files for libavformat
ii  libavformat52                        4:0.6-2ubuntu6                         
           ffmpeg file format library
root@video:/usr/local/src/boblight-read-only#

What can i do?

Greetings...

...Hagen

Original issue reported on code.google.com by [email protected] on 23 Dec 2010 at 6:44

Arduino LTBL-code not working

What steps will reproduce the problem?
1. Compile and run boblightd
2. Connect an arduino via USB using ltbl

What is the expected output? What do you see instead?
Expected behaviour: Being able to control the output pins of the arduino using 
eg. boblight-constant FF0000 for {1,0,0} output. 

What version of the product are you using? On what operating system?
rev400, Ubuntu. 

Please provide any additional information below:
It seems that the skeleton code provided does not properly reflect the updates 
ltbl-protocol. Several steps are completely ommited.

Original issue reported on code.google.com by [email protected] on 27 Dec 2011 at 7:04

Compiling error on Ubuntu 12.04 LTS

Here is my command prompt when I was trying to compile r428. I'm relatively new 
to Linux and don't know how to fix this?

htpc@HTPC:/tmp/boblight-read-only$ ./configure --without-portaudio 
--without-opengl --without-x11 --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lm... yes
checking for main in -ldl... yes
checking whether clock_gettime is declared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: --without-portaudio passed, boblightd will not have support 
for sound devices
configure: WARNING: --with-ffmpeg not passed, boblight-v4l will not be built 
(if you don't plan to use boblight-v4l this is ok!)
configure: WARNING: --without-opengl passed, boblight-X11 will not be able to 
capture on vblanks
configure: WARNING: --without-x11 passed, boblight-X11 and boblight-v4l will 
not be built
htpc@HTPC:/tmp/boblight-read-only$ make
make  all-recursive
make[1]: Entering directory `/tmp/boblight-read-only'
Making all in src
make[2]: Entering directory `/tmp/boblight-read-only/src'
source='lib/boblight_client.cpp' object='libboblight_la-boblight_client.lo' 
libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../depcomp \
    /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight_client.lo `test -f 'lib/boblight_client.cpp' || echo './'`lib/boblight_client.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight_client.cpp  -o 
.libs/libboblight_la-boblight_client.o
../libtool: line 983: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
../libtool: line 984: g++: command not found
make[2]: *** [libboblight_la-boblight_client.lo] Error 1
make[2]: Leaving directory `/tmp/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/boblight-read-only'
make: *** [all] Error 2

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 10:19

width and height swapped in CLight::SetScanRange

Code found in boblight_client.cpp Line 249.

    m_hscanscaled[0] = Round32(m_hscan[0] / 100.0 * ((float)height - 1));
    m_hscanscaled[1] = Round32(m_hscan[1] / 100.0 * ((float)height - 1));
    m_vscanscaled[0] = Round32(m_vscan[0] / 100.0 * ((float)width  - 1));
    m_vscanscaled[1] = Round32(m_vscan[1] / 100.0 * ((float)width  - 1));

VScan should be width, and vice versa.

Original issue reported on code.google.com by [email protected] on 26 Jul 2012 at 4:23

Unable to download ardunio-0022.zip file.Error: Connection reset by server

What steps will reproduce the problem?
1. Open the link, from the ardunio web page, try to download the zip file

2. Triedfrom the google code as issue
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system? ardunio 
0022


Please provide any additional information below.

I am trying to download the latest ardunio, I am getting the error Message as 
Connection was reset by the server.I have attach the screen shot, with this 
issue. Also let me know if the issue is from myside

Original issue reported on code.google.com by [email protected] on 19 Jul 2011 at 4:13

Attachments:

Boblight chase daemon.

Hi there is new daemon for boblight. All files are included. The makefile.in is 
based on latest r440 build. This daemon is useful for creating an ambient with 
your ambilight.

This is from readme file:


----------------------------------------------
Credit for boblight-chase goes to Chris Oattes
Code merged by iLLiac4
----------------------------------------------

Usage of boblight-chase:

1. mode = 0: pixel chase. arg1 = brightness (sensible range: 0 - 300)
2. mode = 1: colour pulse. arg1 = brightness (sensible range: 0 - 300)
3. mode = 2: static rainbow
4. mode = 3: rainbow 'wave'
5. mode = 4: rainbow 'trickle'

Run example:
1. boblight-chase 0 180
2. boblight-chase 1 230
3. boblight-chase 2 FF
4. boblight-chase 3 FF
5. boblight-chase 4 FF

boblight-chase daemon can be run also through script.
This is an example of .sh script:
--------------------------------------------------------------
#!/bin/bash
killall boblight-constant
killall boblight-X11
killall -v boblightd
killall boblight-chase
/usr/bin/boblightd -f > /dev/null 2>&1
DISPLAY=:0.0 /usr/bin/boblight-chase -f 1 200 > /dev/null 2>&1
--------------------------------------------------------------

Notes:
- Only mode 0 and 1 has an additional parameter for brightness.
- Mode 2, 3 and 4 uses constant FF. This one has to be used, but has no affect 
to colour if changed.

Original issue reported on code.google.com by [email protected] on 29 Jun 2012 at 5:47

Attachments:

8 Bit fadeout to zero causes "blinking" of RGB colors

Fading out to zero should end with a "white" RGB value.

when boblight fades out to #000000, it looks strange when the color was white 
in general, but due to the fade out red / blue / green may blink on the last / 
smalest value.

I would recoomend to jump from 010101 to 000000 here - maybe to provide a 
"border" to say all smaler than 0X = 00.

This will prevent collor on faceout like 010000 which will blink in red.

Thx!

Original issue reported on code.google.com by [email protected] on 5 May 2012 at 1:42

Build system needs cleaning up

Currently the build system uses AC_CHECK_LIB with an empty command for the
"action if found", this will link all targets to all libs specified, which
is clearly not necessary.

It needs to be made possible to enable/disable build targets based on
whether the required dependencies are found.

FFmpeg headers need cleaning, right now it assumes libav*/ for the header
paths, which is not true on all systems.

Original issue reported on code.google.com by [email protected] on 22 Oct 2009 at 6:03

Error with wine.

What steps will reproduce the problem?
1. Start a game with wine


Boblight stops to work if I start HoM&M V: Tribes of the east.  A report of the 
problem can be seen in the file attached. 


Original issue reported on code.google.com by [email protected] on 15 Oct 2011 at 11:26

Attachments:

boblight-X11 doesn't work with vdpau enabled

What steps will reproduce the problem?
1. start boblight-X11
2. start video with output option vdpau enabled (i tried both vlc and mplayer)
3. lights only show "black"


What version of the product are you using? On what operating system?
rev 393, gentoo linux

Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 5:28

boblight with an Atmega AT90USB646?

Hi there

Is there any boblight mailinglist or forum?

I want to build an Ambilight clone like the "LiveLight" but with more Channels 
and i want to skip the FTDI Chip. So i like to use this Atmel AVR Chip: 
http://www.atmel.com/devices/AT90USB647.aspx

My problem is i've no idea where to start. Where to get a proper Firmware to 
start with. In which mode i should use boblight and is there any config that i 
can use as an example for my "Problem"?

cheers from Vienna
Daniel

Original issue reported on code.google.com by [email protected] on 23 Jun 2012 at 3:31

Error compiling under Ubuntu.

What steps will reproduce the problem?
1. ./configure --with-ffmpeg
2. make


What version of the product are you using? On what operating system?
last SVN + Ubuntu 11.10 64bit




Original issue reported on code.google.com by [email protected] on 20 Jan 2012 at 1:26

Attachments:

Devices232.cpp: Add SEDU prefix

Hi Bob,

Can you add this sedu-prefix to devices232.cpp ?

if (type == SEDU)
{
    m_prefix.push_back(0xA5);
    m_prefix.push_back(0x5A);
    m_postfix.push_back(0xA1);
}

And: #define SEDU 10 to device.h

This is for the sedu-ambilight. Thanks!
http://www.ledstyles.de/ftopic19607.html

Original issue reported on code.google.com by [email protected] on 13 Sep 2012 at 3:09

PWM detect for Arduino mega in boblight_arduino_pwm.pde

PWM pin selection can be done with following.

There are basically two types of Arduino regarding PWM pins: Arduino Mega and 
non-Mega.

They can be automatically detected by compiler based on processor type.

//on the Arduino megam, 12 pwm outputs are available, on the duemilanove there 
are 6
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
  uint8_t outputs[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13};
#else
  uint8_t outputs[] = {3, 5, 6, 9, 10, 11};
#endif


Original issue reported on code.google.com by [email protected] on 19 Jan 2012 at 4:59

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.