Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Addresses Issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYsLab committed Nov 2, 2021
1 parent 818fc62 commit 1825db4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pymata4/private_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class PrivateConstants:
SYSEX_REALTIME = 0x7F # MIDI Reserved for realtime messages

# reserved for PyMata
PYMATA_EXPRESS_THREADED_VERSION = "1.12"
PYMATA_EXPRESS_THREADED_VERSION = "1.13"

# matching FirmataExpress Version Number
FIRMATA_EXPRESS_VERSION = "1.2"
Expand Down
8 changes: 6 additions & 2 deletions pymata4/pymata4.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,13 @@ def _find_arduino(self):
self.using_firmata_express = True
self.com_port = self.serial_port
return
# continue trying
else:
raise RuntimeError(f'arduino_instance_id does not match the '
f'value on the board.')
continue

# did not find a match anywehre
raise RuntimeError(f'arduino_instance_id does not match '
f'a value on the boards.')
except KeyboardInterrupt:
raise RuntimeError('User Hit Control-C')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
packages=['pymata4'],
install_requires=['pyserial'],

version='1.12',
version='1.13',
description="A Python Protocol Abstraction Library For Arduino Firmata",
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 1825db4

Please sign in to comment.