ESP-MQTT-JSON-Digital-LEDs
ESP-MQTT-JSON-Digital-LEDs copied to clipboard
ESP_MQTT_Digital_LEDs:388: error: 'MILLION' was not declared in this scope
ESP_MQTT_Digital_LEDs:388: error: 'MILLION' was not declared in this scope
unsigned int kelvin = MILLION / color_temp;
^
exit status 1 'MILLION' was not declared in this scope
Yeah, I got this. I just changed it to 1000000 instead
Either replace MILLION with 1000000 as he mentioned above, or simply define MILLION:
int MILLION = 100000;