diyhue / Lights

DIY lights with support for diyHue
https://diyhue.org/
172 stars 97 forks source link

add ESP32_SK9822_FastLED_Strip sketch #69

Closed linuzer closed 4 years ago

linuzer commented 4 years ago

Based on several other examples. The sketch uses native FastLED, including their dimming functions. Redesigned the code for better readability. Separated the communication part with diyHue into an extra class.

Jorgen-VikingGod commented 4 years ago

you have to adapt the travis script to compile esp32 for your sketch instead of esp8266. Also some additional libraries you are using, needs to add.

Good example ofhow to create a travis script to address both (esp32 and esp8266) could be this one: https://github.com/256dpi/arduino-mqtt/blob/master/.travis.yml

mariusmotea commented 4 years ago

I think you need to remote it from .env as Travis try to compile it using esp8266 board.

arduino-cli compile --fqbn esp8266:esp8266:nodemcu ${TRAVIS_BUILD_DIR}/Arduino/$SKETCH/$SKETCH.ino --output ${TRAVIS_BUILD_DIR}/Arduino/bin/$SKETCH.bin" exited with 1.
linuzer commented 4 years ago

Well, to be honest, I have no idea of Travis and how it works. I think I am unable to change the scripts the the way it would be necessary. Can anybody please help me with this?

mariusmotea commented 4 years ago

I will fix it after merge. Thanks

linuzer commented 4 years ago

Thank you very much!