Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 61b11b4

Browse files
Implemented gengshenghong's performance fix
1 parent 9922939 commit 61b11b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

PyMata/pymata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, port_id='/dev/ttyACM0', bluetooth=True, verbose=True):
121121

122122
if self.verbose:
123123
print("\nPython Version %s" % sys.version)
124-
print('\nPyMata version 2.10 Copyright(C) 2013-15 Alan Yorinks All rights reserved.')
124+
print('\nPyMata version 2.11 Copyright(C) 2013-15 Alan Yorinks All rights reserved.')
125125

126126
# Instantiate the serial support class
127127
self.transport = PyMataSerial(port_id, self.command_deque)

PyMata/pymata_command_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ def run(self):
830830

831831
# go to the beginning of the loop to process the next command
832832
continue
833-
else:
834-
time.sleep(.1)
833+
else:
834+
time.sleep(.1)
835835

836836

837837

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
setup(
66
name='PyMata',
77
packages=['PyMata'],
8-
version='2.10',
8+
version='2.11',
99
description="A Python Protocol Abstraction Library For Arduino Firmata",
1010
author='Alan Yorinks',
1111
author_email='[email protected]',

0 commit comments

Comments
 (0)