1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00
This commit is contained in:
Andrey Pohilko 2017-09-14 14:56:47 +03:00
parent cea34b292a
commit fc30bf2c1d

View File

@ -57,7 +57,7 @@ class LED(Peripheral):
if color not in COLORS:
raise ValueError("Color %s is not in list of available colors" % color)
cmd = '\x11\x51\x00' + int2byte(color)
cmd = b'\x11\x51\x00' + int2byte(color)
self._set_port_val(cmd)