bruhautomation / ESP-MQTT-JSON-Digital-LEDs

(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
https://youtu.be/9KI36GTgwuQ
Apache License 2.0
511 stars 268 forks source link

Compilation Error #76

Closed leobel96 closed 6 years ago

leobel96 commented 6 years ago

Hi. I've tried compiling the Arduino code but I got an error:

ESP_MQTT_Digital_LEDs:388: error: 'MILLION' was not declared in this scope

       unsigned int kelvin  = MILLION / color_temp;

I noted that MILLION doesn't appear in the whole code. Probably you should fix it sobstituting it with 1000000

leobel96 commented 6 years ago

I close It for duplication with #45