Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append text fonction for NexText object #93

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

VincentFrangi
Copy link

I add simple appendText function to NextTex object, which is really useful.

…deMcu, based on original Nextion Arduino library

- Added support for NodeMcu/esp8266, Software serial, Software serial can be used with arduino also
- Added support for global Nextion objects. (Optional page parameter added in the components)
- NexVariable corrected to use int32_t data type
- NextText corrected to return tru/false, and string length is returned in len parameter
- NextText String object support added
- other small bug fixes done
- Added to support global Nextion events like CurrentPageIdCallback,systemStartUpCallback,...
- examples Nextion editor projects corrected

-For some reason I need to remove NexUpload.h & NexUpload.cpp when using the library in PlatformIO
  some platform header files not found spontaneously when building, adding the libray path in platformio.ini did not help.
Wavefor corrections:
- Return values corrected
- Inheritance correction to NexToutch to support toutch events
- corrected set/get channeö colour to support all channels
- added value scale, now possible to define UI min /max value. Added value is then scaled base on defined min/max value and given component height in pixels (component support max 255 pixel height)
- nextInit() baud rate paramenter added
- Transpared data suport added
- Waveform auto scaling corrected, multiple values add support added, Clear component support added
c++ std library usage moved to optional:
- NexConfig #define STD_SUPPORT
- std:function<> replace with c style function pointers
- functions that used std::vector, c style variants added
nextLoop function rewriten so that more fault/delay tolerant.

NexWaveform addValue more fault tolerant
-Backward compatinility issue:
	- systemStartUpCallback function pointer name corrected to match Nextion functionality/documentation new name: nextionReadyCallback

- Error code list updated (NexHardware.cpp)
- nextionStartupCallback function added. Called when when Nextion has started or reset
- NexVariable::setValue datatype corrected jyberg#2

- DEBUG_SERIAL_ENABLE changed to NEX_DEBUG_SERIAL_ENABLE

- Serial.readBytes( implementation not used anymore, own implementation instead. Because of softwareSerial readBytes functionality is not reliable enough.
Include softwareSerial.h moved inside USE_SOFTWARE_SERIAL block
getValue and getText doesn't work jyberg#9 corrected
functions timeout parameter chaned from uint32_t to size_t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants