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

Commit 818fc62

Browse files
committed
Addresses Issue #39
1 parent 15f4eea commit 818fc62

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pymata4/private_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class PrivateConstants:
7070
SYSEX_REALTIME = 0x7F # MIDI Reserved for realtime messages
7171

7272
# reserved for PyMata
73-
PYMATA_EXPRESS_THREADED_VERSION = "1.11"
73+
PYMATA_EXPRESS_THREADED_VERSION = "1.12"
7474

7575
# matching FirmataExpress Version Number
7676
FIRMATA_EXPRESS_VERSION = "1.2"

pymata4/pymata4.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,9 @@ def _find_arduino(self):
396396
self.using_firmata_express = True
397397
self.com_port = self.serial_port
398398
return
399+
else:
400+
raise RuntimeError(f'arduino_instance_id does not match the '
401+
f'value on the board.')
399402
except KeyboardInterrupt:
400403
raise RuntimeError('User Hit Control-C')
401404

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
packages=['pymata4'],
1212
install_requires=['pyserial'],
1313

14-
version='1.11',
14+
version='1.12',
1515
description="A Python Protocol Abstraction Library For Arduino Firmata",
1616
long_description=long_description,
1717
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)