mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-21 13:38:20 -05:00
23 lines
629 B
C++
23 lines
629 B
C++
/*---------------------------------------------------------*\
|
|
| Driver for Philips Hue |
|
|
| |
|
|
| Adam Honse (calcprogrammer1@gmail.com), 9/15/2020 |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#include "PhilipsHueController.h"
|
|
|
|
PhilipsHueController::PhilipsHueController(HueLight& light_ptr):light(light_ptr)
|
|
{
|
|
|
|
}
|
|
|
|
PhilipsHueController::~PhilipsHueController()
|
|
{
|
|
|
|
}
|
|
|
|
void PhilipsHueController::SetColor(unsigned char red, unsigned char green, unsigned char blue)
|
|
{
|
|
light.setColorRGB(red, green, blue, 0);
|
|
}
|