rename
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user