forkineye / E131

E1.31 (sACN) library for Arduino with ESP8266 support
127 stars 44 forks source link

Help using SoftwareSerial with E131 #19

Open pdegior opened 6 years ago

pdegior commented 6 years ago

I have a 3rd party board I'm using (4duino) based on the Leonardo. It uses the TX and RX pins for it's built in LCD. It also has a built in ESP8266 that is connected to pins 8 and 9. In order to get the wifi working I am using SoftwareSerial library. I'm able to connect with their code no problem to the wifi. Now I'm trying to integrate your E131 library into my code and I'm a bit confused how to bring them all together. I see that the wifi code is integrated into the library and I'm a unsure of what to change to get it to point to the SoftwareSerial port instead. Is this possible to do?

forkineye commented 6 years ago

The libraries are designed to work directly with the network hardware. In order to process the incoming E131 data in a timely manner, it would best to do the heavy lifting on the ESP8266 and then feed a stream of DMX data out of the ESP to the rest of your system. I have an asynchronous version of this library written specifically for the ESP8266 here - https://github.com/forkineye/ESPAsyncE131.

pdegior commented 6 years ago

I'll give it a shot. Thanks.