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.
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.