BreakfastSerial
BreakfastSerial copied to clipboard
_handle_report_version passed invalid arguments
Getting this once in a while. Looks like a pyFirmata issue.
Connecting to /dev/cu.usbmodem1411
Traceback (most recent call last):
File "motor.py", line 10, in <module>
board = Arduino()
File "/Users/theycallmeswift/dev/open-source/BreakfastSerial/BreakfastSerial/BreakfastSerial.py", line 28, in __init__
super(Arduino, self).__init__(*newargs)
File "/Users/theycallmeswift/dev/open-source/BreakfastSerial/venv/lib/python2.7/site-packages/pyfirmata/__init__.py", line 16, in __init__
super(Arduino, self).__init__(*args, **kwargs)
File "/Users/theycallmeswift/dev/open-source/BreakfastSerial/venv/lib/python2.7/site-packages/pyfirmata/pyfirmata.py", line 87, in __init__
self.iterate()
File "/Users/theycallmeswift/dev/open-source/BreakfastSerial/venv/lib/python2.7/site-packages/pyfirmata/pyfirmata.py", line 266, in iterate
handler(*received_data)
File "/Users/theycallmeswift/dev/open-source/BreakfastSerial/venv/lib/python2.7/site-packages/pyfirmata/pyfirmata.py", line 152, in decorator
f(*args, **kwargs)
TypeError: _handle_report_version() takes exactly 3 arguments (45 given)