MikeCoder96 / HappyLighting-py

HappyLight BLE communication using Bleak (QHM Led Controller)
GNU Affero General Public License v3.0
22 stars 6 forks source link

Where are the preset pattern defined #10

Open BenKimerian opened 1 year ago

BenKimerian commented 1 year ago

Hi,

I would like to create a new preset (pulsating green/purple) as a training but i do not find where the presets are defined. I am not used to python and this kind of coding.

Thank you

MikeCoder96 commented 1 year ago

Here an example: https://github.com/MikeCoder96/HappyLighting-py/blob/custom_mode_test/LEDStripController/Plugins/custommode_example.hpm

Here the Python method: https://github.com/MikeCoder96/HappyLighting-py/blob/custom_mode_test/LEDStripController/CustomMode.py

Consider it as a test