01 icon indicating copy to clipboard operation
01 copied to clipboard

Arduino libraries clarification request

Open hpsaturn opened this issue 10 months ago • 3 comments

Summary

The current documentation is not clear regarding the right libraries to use. We have two sections, two readme files with this information, but also we have the header of the .ino file that mentioned different libraries. I tested with both and I had the same results, then, don't worries for that, but maybe we should define better these information.

On the other hand, PlatformIO is more clear with that. In the platformio.ini that I pushed, we could put the strict version of the libraries from the PlatformIO registry. For instance I have:

[env:m5echo]
extends = esp32common
lib_deps = 
  m5stack/M5Atom @ ^0.1.2
  links2004/WebSockets @ ^2.4.1
  https://github.com/arduino-libraries/ArduinoHttpClient
  https://github.com/lacamera/ESPAsyncWebServer
  fastled/FastLED @ ^3.6.0

(but, I repeat, we need more clarification for these libraries, specifically regarding ArduinoHttpClient and ESPAsyncWebServer versions)

Curent Arduino ino file header libraries info:

#include <AsyncTCP.h> //https://github.com/me-no-dev/AsyncTCP using the latest dev version from @me-no-dev
#include <DNSServer.h>
#include <ESPAsyncWebServer.h> //https://github.com/me-no-dev/ESPAsyncWebServer using the latest dev version from @me-no-dev

hpsaturn avatar Mar 29 '24 11:03 hpsaturn