You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Remove the private function readCommand() from the main EasyNextionLibrary.cpp file. A new file is created named readCustomCommands.cpp, in order to make easier the modifications for it when using the custom protocol.
Return Error code added and to other cases of readNumberFromSerial(). When failing to read a number, we return the number 777777 instead. The cases of having a 777777 return:
Waiting bytes have not come to Serial timeout
Command start character is not found in Serial timeout
The waiting length of the byte package has not come to Serial
Bytes on Serial are not the expected
The function readNumberFromSerial() is improved, making reading values more accurate, due to hardware or Serial problems.