BlueAndi / Pixelix

Full RGB LED matrix, based on an ESP32 and WS2812B LEDs.
MIT License
293 stars 59 forks source link

Custom plugin not detected #58

Closed ReinVelt closed 3 years ago

ReinVelt commented 3 years ago

I have created my own plugin following yours rules in plugins_dev.md . The files are compiled successfully and uploaded but the plugin is not working because it is not detected. PluginFactory.cpp detects all other plugins but not mine.

So here is my dumb question: How does pluginFactory get the list with available plugins? Should i add something to a config file?

BlueAndi commented 3 years ago

Register the plugin in the InitState here: https://github.com/BlueAndi/esp-rgb-led-matrix/blob/0c0b6bbee25cfb1dbdeda7b3249d0a51e9eba9ca/src/StateMachine/InitState.cpp#L379

I will add this to the documentation.

ReinVelt commented 3 years ago

Yes, it works. Thank you very much for your support.