diff --git a/README.md b/README.md index dccae4b..151d0fe 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,6 @@ By default, uploading this program and then writing to the serial device doesn't 3. Write stuff to the serial device - now it should work ### Previously was working -I basically had to rewrite this from scratch - the Arduino had the program uploaded on it but I lost the code. ~~That version had fast refresh rates but this one takes like 2 seconds to refresh the LCD. I don't have any applications that would break due to this so it isn't important. ~~ +I basically had to rewrite this from scratch - the Arduino had the program uploaded on it but I lost the code. ~~That version had fast refresh rates but this one takes like 2 seconds to refresh the LCD. I don't have any applications that would break due to this so it isn't important.~~ I fixed this issue. Apparently `Serial.readString()` is extremely slow, but `Serial.readStringUntil('\n')` (equivalent in this case) is much faster. Not sure on why but it works. I have effectively instant updates now.