itead / ITEADLIB_Arduino_Nextion

MIT License
328 stars 318 forks source link

Comparison of alternatives Arduino / Nextion libraries #48

Open scls19fr opened 6 years ago

scls19fr commented 6 years ago

Hello,

I noticed that several libraries for Arduino and Nextion smart display exist.

What are pros and cons of each libraries?

Pinging @shennongmin @bborncr @DanNixon

After enumerating differences, a paragraph about this could probably be added to https://github.com/itead/ITEADLIB_Arduino_Nextion/blob/master/readme.md

Kind regards

DanNixon commented 6 years ago

When I first wrote my library the one provided by ITEAD was pretty poor in terms of functionality and general code quality. When I stopped maintaining it this was still the case.

https://github.com/bborncr/nextion/ looks rather incomplete in comparison to ITEAD's and my library, I can't really think of a use case for it (possibly low memory footprint, but at that point you are probably better of rolling your own library that only does what you need it to).

scls19fr commented 6 years ago

License seems to be an important difference

https://github.com/itead/ITEADLIB_Arduino_Nextion/blob/5a5cf0abbf7f12e9bd98bb4540bbe8350bb5c9a3/html/index.html#L132-L134

https://github.com/DanNixon/NeoNextion/blob/7b0e6175bc20c7f7d8ee2424ca6bd3626666c3be/LICENSE#L1-L2

https://github.com/bborncr/nextion/blob/bc4500ac54e9b52d937e268496b8e4500a3f51fd/LICENSE#L1-L2

intelligentandgoodlooking commented 6 years ago

@DanNixon Thanks for making and sharing NeoNextion The original was (and probably still is) terrible. Especially needing to modify the library if you wanted to turn on debug messages or change the serial port. This obviously affected all projects that use the lib. I started modifying the Nextion lib, then scrapped it when I found yours! Nice contribution.

scls19fr commented 4 years ago

https://github.com/jyberg/Enhanced-Nextion-Library from @jyberg and https://github.com/VincentFrangi/Enhanced-Nextion-Library from @VincentFrangi may be an interesting forks if the official library maintainers doesn't merge contributions Maybe they can tell us more about improvements they did

scls19fr commented 4 years ago

I'm wondering if @DanNixon could dual licence https://github.com/DanNixon/NeoNextion under LGPL or BSD

DanNixon commented 4 years ago

I'm wondering if @DanNixon could dual licence DanNixon/NeoNextion under LGPL or BSD

Why?

The Arduino framework is under GPL v2 (edit, just noticed it is dual licensed with LGPL) ~so changing my library to something more permissive is going to benefit no one~.

scls19fr commented 4 years ago

See https://github.com/DanNixon/NeoNextion/issues/58