Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HID Error: 'int' object is not iterable #208

Closed
snkYmkrct opened this issue Nov 29, 2024 · 0 comments · Fixed by #209
Closed

HID Error: 'int' object is not iterable #208

snkYmkrct opened this issue Nov 29, 2024 · 0 comments · Fixed by #209

Comments

@snkYmkrct
Copy link

The #205 PR is breaking the code in this guide https://learn.adafruit.com/doomscroll-and-chill-wireless-ble-scroll-wheel-rotary-encoder-remote

I didn't have time to investigate further, but loading the guide code with the latest library release crashes with:

Adafruit CircuitPython 9.2.1 on 2024-11-20; Adafruit Feather Bluefruit Sense with nRF52840
>>> 
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Traceback (most recent call last):
  File "code.py", line 90, in <module>
  File "adafruit_ble/services/standard/hid.py", line 356, in __init__
  File "adafruit_ble/services/standard/hid.py", line 445, in _init_devices
TypeError: 'int' object is not iterable

Reverting to library release 10.0.9 makes the code work as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant