hubsif / arduino-dali

A timer-based DALI (Digital Addressable Lighting Interface) library for Arduino
https://hubsif.github.io/arduino-dali/
GNU General Public License v3.0
26 stars 19 forks source link

ESP8266 support #1

Closed Juice10 closed 1 year ago

Juice10 commented 2 years ago

Thanks for the awesome library! I'm trying to use this together with an ESP8266 and an MikroE Click DALI 2 module. Unfortunately the ESP8266 doesn't run on avr architecture so some of the external libraries currently don't support the ESP8266. It would be great if this library could add support for it since its such a popular platform.

Keep up the great work!

hubsif commented 1 year ago

Thank you, @Juice10! Through those external libraries this DALI library makes use of AVR hardware features, i.e. external interrupts and timers. These are different on each microchip platform and thus cannot have common code, at least not without some abstraction layer. I currently do not intend to extend the DALI library to support ESP8266, but I certainly would accept a pull request that adds this platform 😉.