#ifdef ENABLE_UDP
// notify over UDP
snprintf(str_selection, 19, "{\"active\": %d}", activeSelection);
+ #ifdef SERIAL_DEBUG
+ Serial.println(F("Sending UDP... "));
+ Serial.println(str_selection);
+ #endif
Udp.beginPacket(udp_remote_ip, 1312);
Udp.write(str_selection);
Udp.endPacket();