mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
Fix test
This commit is contained in:
parent
cea34b292a
commit
fc30bf2c1d
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user