You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a M5Stack Atom Lite, which has an addressable RGB LED (SK6812) built in.
Because of that I added some code based on the FastLED Library, which shows some connection states on it.
I added the complete code conditionally, that means as long as USE_FASTLED is set to false in the config.h you don't need the FastLED library in the lib dependencies.
The logic behind: On startup of the device you see then the colors for successful connection of WiFi, MQTT, Bluetooth and sending data to the MQTT server.
The color codes and the GPIO PIN are defined in the config.h.
Further if all is working and one of these colors will be active again, it shows a connection problem with the connection which is assigned to the color.
If it is ok I could open a Pull Request.
The text was updated successfully, but these errors were encountered:
@matthewhadley
As long as the PR is not requested, you can use my Fork.
My fork is in sync with the main repository and only the LED feature is additionally.
Simply enable the FastLED lib dependency in the platformio.ini, set USE_FASTLED to true in config.h and maybe change the BLUETTI_TYPE in config.h.
I have a M5Stack Atom Lite, which has an addressable RGB LED (SK6812) built in.
Because of that I added some code based on the FastLED Library, which shows some connection states on it.
I added the complete code conditionally, that means as long as USE_FASTLED is set to false in the config.h you don't need the FastLED library in the lib dependencies.
The logic behind: On startup of the device you see then the colors for successful connection of WiFi, MQTT, Bluetooth and sending data to the MQTT server.
The color codes and the GPIO PIN are defined in the config.h.
Further if all is working and one of these colors will be active again, it shows a connection problem with the connection which is assigned to the color.
If it is ok I could open a Pull Request.
The text was updated successfully, but these errors were encountered: