Fixes creating a ColorPacket from an int (like rainbowio.colorwheel)
from adafruit_bluefruit_connect.color_packet import ColorPacket
c = ColorPacket(0xFF0080)
print(c.color)
Before:
code.py output:
Traceback (most recent call last):
File "code.py", line 2, in <module>
File "adafruit_bluefruit_connect/color_packet.py", line 37, in __init__
TypeError: can't convert str to int
Fixes creating a ColorPacket from an int (like rainbowio.colorwheel)
Before:
After: