Closed DatanoiseTV closed 5 years ago
Hii, I am trying something similar. I'm trying to use ArtNet using ethernet instead of WiFi, were you able to get it working? If yes, please share the code / how to. Thanks
Hi @MihirKhara the example above should be a good starting point. Can you share your exact problem? Compile-error? Hardware-setup? A code snippet? I have used the Olimex ESP32-Gateway and it's working just fine.
Hi @rstephan, I'm using the native ethernet controller on the ESP32. I was just wondering what changes should be done in the example code for it to work with ethernet? Since you have mentioned this in the readme - Note: this library assumes you are using a wifi module. If you can guide me in the right direction, that would be very helpful. The ArtnetWifiFastLED example is working flawlessly with WiFi, Thanks for the amazing library.
Hi @MihirKhara Yes, this library is mainly focused on WiFi. Yes, this library also works with LAN/Ethernet, as I mentioned above. The ESP32-Gateway is also a wired Ethernet device. And yes, you have to do a bit work yourself.
ArtnetWifiFastLED
example.#include <ETH.h>
void WiFiEvent(WiFiEvent_t event)
{
....
}
setup()
like so:
WiFi.onEvent(WiFiEvent);
ETH.begin();
//ConnectWifi();
Please, do not reply on this issue! Open a new one, so we can discuss your problem more "privately". Thank you.
I am using the Olimex ESP32-EVB board and I am having trouble making the library work.
My code: