1
0
This commit is contained in:
2019-03-16 21:47:18 -04:00
parent c37230f828
commit 6f1c07decc

View File

@@ -216,12 +216,12 @@ void setWait(char data[], uint16_t len){
wait += (char)data[index];
}
uint16_t wait_int = wait.toInt();
if (wait_int >= 0 && wait_int < 10000){
if (wait_int >= 0 && wait_int <= 200){
strip.wait = wait_int;
Serial.print(F("strip.wait set to "));
Serial.println(wait_int);
} else {
Serial.print(F("Speed delay is out of the allowed range (0-10,000): "));
Serial.print(F("Speed delay is out of the allowed range (0-200): "));
Serial.println(wait_int);
}
}