Open Lighting Architecture
Latest Git
|
The interface for the Fadecandy Widgets.
Fadecandy devices have 8 physical ports. Each port can drive 64 RGB pixels. Ideally this means we'd model each Fadecandy port as an OLA port, but that introduces synchronization issues, since the underlying protocol models all 8 ports as a flat pixel array. For now we just expose the first 170 pixels.
See https://github.com/scanlime/fadecandy/blob/master/README.md for more information on Fadecandy devices.
Public Member Functions | |
ScanlimeFadecandy (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial) | |
std::string | SerialNumber () const |
Get the serial number of this widget. More... | |
Public Member Functions inherited from ola::plugin::usbdmx::SimpleWidget | |
SimpleWidget (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device) | |
Create a new SimpleWidget. More... | |
ola::usb::USBDeviceID | GetDeviceId () const |
The device ID of this widget. More... | |
Public Member Functions inherited from ola::plugin::usbdmx::WidgetInterface | |
virtual bool | Init ()=0 |
Initialize the widget. More... | |
virtual bool | SendDMX (const DmxBuffer &buffer)=0 |
Send DMX data from this widget. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ola::plugin::usbdmx::SimpleWidget | |
ola::usb::LibUsbAdaptor *const | m_adaptor |
libusb_device *const | m_usb_device |
|
inline |
Get the serial number of this widget.