Re: Sending a Pulse
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
You should describe what is your issue exactly ...
BTW, your Serial.read() isn't optimized, since you read only one char and then hiting delay() before reading next one. You should read all chars until buffer empty :
BTW, your Serial.read() isn't optimized, since you read only one char and then hiting delay() before reading next one. You should read all chars until buffer empty :
Code: Select all
if (ESPserial.available() > 0) {
while (ESPserial.available() > 0) {
Serial.write(ESPserial.read());
}
}