- add rgbw support

- add ws28 support
- add transitions to pwm
- add units of measurement for all i2c sensors
- remove mqtt support
This commit is contained in:
Andrey Viktorov
2021-03-23 15:10:50 +03:00
parent 36433a7fdd
commit 1270ea2ee2
15 changed files with 687 additions and 213 deletions

View File

@@ -1,3 +1,5 @@
import struct
from itertools import permutations
print(struct.unpack('!f', bytes.fromhex('435c028f'))[0])
RGB_COMBINATIONS = [''.join(x) for x in permutations('rgb')]
print(RGB_COMBINATIONS)