Skip to content

Enhanced Initial Release

Compare
Choose a tag to compare
@Seithan Seithan released this 15 Apr 14:21
· 78 commits to master since this release
f90d138
  • 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.