adafruit / Adafruit_CircuitPython_BluefruitConnect

This module helps you to communicate with the Adafruit Bluefruit Connect app or use its protocols
MIT License
17 stars 16 forks source link

ButtonPacket did not work in CPython #30

Closed dhalbert closed 3 years ago

dhalbert commented 3 years ago

ButtonPacket was trying to use a str in struct.pack(). This works in CircuitPython, but not CPython.

dhalbert commented 3 years ago

Thanks @cs80 for finding this issue when using the library with CPython.