HELLPANZER / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

Devices232.cpp: Add SEDU prefix #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 vosenw...@gmail.com on 13 Sep 2012 at 3:09

GoogleCodeExporter commented 8 years ago
Added in r448.
You can use:

device sedu

in boblight.conf now to get this prefix and postfix.

I do wonder why on earth the person on that forum is modifying boblight code 
when you can set a custom prefix and postfix if you use the momo protocol.

Original comment by bob.loo...@gmail.com on 14 Sep 2012 at 8:42