Coder Social home page Coder Social logo

Comments (4)

MihirKhara avatar MihirKhara commented on August 18, 2024

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

from artnetwifi.

rstephan avatar rstephan commented on August 18, 2024

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.

from artnetwifi.

MihirKhara avatar MihirKhara commented on August 18, 2024

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.

from artnetwifi.

rstephan avatar rstephan commented on August 18, 2024

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.

  • Open the ArtnetWifiFastLED example.
  • Take a look at the first post (as I mentioned above)
  • Copy #include <ETH.h>
  • Copy all of
void WiFiEvent(WiFiEvent_t event)
{
 ....
}
  • Modify 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.

from artnetwifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.