Add speed control to Hue 2

This commit is contained in:
Adam Honse
2020-01-16 20:46:46 -06:00
parent 4b8668e0ef
commit cf2c2d6b93
6 changed files with 106 additions and 163 deletions

View File

@@ -25,7 +25,7 @@ static void Sleep(unsigned int milliseconds)
HuePlusController::HuePlusController()
{
current_mode = HUE_PLUS_MODE_FIXED;
current_speed = 0;
current_speed = HUE_PLUS_SPEED_NORMAL;
}
HuePlusController::~HuePlusController()