diyhue / Lights

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

Arduino nano 33 IoT support #125

Closed Obi-Stan-Kenobi closed 2 years ago

Obi-Stan-Kenobi commented 2 years ago

I was wondering if it is possible to make the Gradien Strip code work on an Arduino nano 33 IoT.

mariusmotea commented 2 years ago

Unfortunately we don't maintain the entire code, we rely on certain libraries so if these libraries are supporting also Arduino nano 33 IoT it must work. Did you tried to compile the code and get errors? I think a small change is require to NeopixelBus library to specify the strip data in pin (on ESP8266 is not specified since just RX pin is working) and also change wifi connection code with the one for Arduino nano 33 IoT (probably you need to remove WiFI Manager library that is made for ESP8266). Not having such board is hard for me to change the code for it.

Obi-Stan-Kenobi commented 2 years ago

Thank you, I will try this asap. I did get a compiling error though, the LittleFS.h: no such file or directory.

mariusmotea commented 2 years ago

Look in the other sketches where SPIFFS is still used. ESP library migrated to LittleFS and consider SPIFFS deprecated, for this reason we did the switch. In the sketch you need to rename LittleFS with SPIFFS and in the header import FS.h instead of LittleFS.h

mariusmotea commented 2 years ago

Look, this is still using SPIFFS: https://github.com/diyhue/Lights/blob/master/Arduino/Generic_WS2812_Strip/Generic_WS2812_Strip.ino

GitHub
Lights/Generic_WS2812_Strip.ino at master · diyhue/Lights
DIY lights with support for diyHue. Contribute to diyhue/Lights development by creating an account on GitHub.
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 2 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed as it has not had any recent activity. Thank you for your contributions.