mjg59 / python-tikteck

Python module for controlling Tikteck Bluetooth LED bulbs
MIT License
26 stars 7 forks source link

Values to be used in set_rainbow function #6

Open StefseL opened 6 years ago

StefseL commented 6 years ago

Hi,

I was wondering if there is any example / documentation about the functions in init.py. Especially the function: set_rainbow(self, brightness, speed, mode, loop). It accepts a couple of arguments. I guess the brightness ranges from 0x00 to 0xff but I'm also interested in the ranges of speed, mode and loop and what the values do. The other three are, as far as i can see, rather straightforward.

Thank you.