Added:
- Automatic reconnection on command timeout.
- New `reconnect_attempts` parameter added to Nextion constructor. If you do not want the lib to automatically reconnect set it to 1.
Changed
- Nextion.connect() does not return a boolean now. It throws an exception on failure.
- Some logging improvements.
Removed
- Removed sleep wakeup waiting. Increased IO timeout to 0.5 second to compensate that. Background picture change takes 180ms + first variable set after a wakeup takes 240ms + some buffer.