mathertel / DMXSerial

An Arduino library for sending and receiving DMX packets.
BSD 3-Clause "New" or "Revised" License
328 stars 78 forks source link

ESP8266 compatible? #80

Closed kleinmantara closed 1 year ago

kleinmantara commented 1 year ago

Hi,

in the issue https://github.com/mathertel/DMXSerial/issues/75 there is the comment "I use it on Arduino UNO, ESP8266, ESP32."

I have the same problem @blockiyt, i got an compile error in platform io for an espressif8266:

In file included from lib/DMXSerial/src/DMXSerial.cpp:13:
lib/DMXSerial/src/DMXSerial.h:39:10: fatal error: avr/io.h: No such file or directory
   39 | #include <avr/io.h>
      |          ^~~~~~~~~~
compilation terminated.
blockiindahood commented 1 year ago

Seems that ESP8266 is not compatible with avr. I've written you an email, with an example how you can do that.

mathertel commented 1 year ago

The issue #75 was updated.

The DMXSerial library only supports the CPUs mentioned in the README.md file. See above correction.

Sorry for any confusions,

kleinmantara commented 1 year ago

This library is available for the ESP8266 here: https://github.com/claudeheintz/LXESP8266DMX/