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

Pin assignment may fail when reconnecting #23

Open
wonkoderverstaendige opened this issue Nov 21, 2013 · 0 comments
Open

Pin assignment may fail when reconnecting #23

wonkoderverstaendige opened this issue Nov 21, 2013 · 0 comments

Comments

@wonkoderverstaendige
Copy link
Owner

When forcefully removing Arduino and then reconnecting to it, some pins have not been removed/added properly.

Traceback (most recent call last):
  File "./ui\TabSerial.py", line 103, in toggle_connection
    self.parent.update_all_tabs()
  File "C:/Users/Ronny/Documents/GitHub/Spotter/spotterQt.py", line 318, in update_all_tabs
    t.update()
  File "./ui\TabObjects.py", line 60, in update
    self.refresh_slot_table()
  File "./ui\TabObjects.py", line 209, in refresh_slot_table
    pin_idx = pins.index(slot.pin)
ValueError: <arduino.Pin object at 0x055A3E70> is not in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant