![]() |
Open Lighting Architecture
Latest Git
|
The ShowJockey-DMX-U1 Widget.
Stream data to the ShowJockey-DMX-U1 in the following packet format: The first two bytes describe on a uint16_t the index of the first channel starting with its LSB. Each following byte corresponds to the value of a channel.
Public Member Functions | |
ShowJockeyDMXU1 (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial) | |
Create a new ShowJockeyDMXU1. More... | |
std::string | SerialNumber () const |
Get the serial number of this widget. More... | |
![]() | |
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... | |
![]() | |
virtual bool | Init ()=0 |
Initialize the widget. More... | |
virtual bool | SendDMX (const DmxBuffer &buffer)=0 |
Send DMX data from this widget. More... | |
Protected Attributes | |
std::string | m_serial |
![]() | |
ola::usb::LibUsbAdaptor *const | m_adaptor |
libusb_device *const | m_usb_device |
|
inline |
Create a new ShowJockeyDMXU1.
adaptor | the LibUsbAdaptor to use. |
usb_device | the libusb_device to use for the widget. |
serial | the serial number of the widget. |
|
inline |
Get the serial number of this widget.