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

Commit

Permalink
Implemented gengshenghong's performance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterYsLab@gmail.com committed Dec 7, 2015
1 parent 9922939 commit 61b11b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PyMata/pymata.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(self, port_id='/dev/ttyACM0', bluetooth=True, verbose=True):

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

# Instantiate the serial support class
self.transport = PyMataSerial(port_id, self.command_deque)
Expand Down
4 changes: 2 additions & 2 deletions PyMata/pymata_command_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,8 +830,8 @@ def run(self):

# go to the beginning of the loop to process the next command
continue
else:
time.sleep(.1)
else:
time.sleep(.1)



Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
setup(
name='PyMata',
packages=['PyMata'],
version='2.10',
version='2.11',
description="A Python Protocol Abstraction Library For Arduino Firmata",
author='Alan Yorinks',
author_email='MisterYsLab@gmail.com',
Expand Down

0 comments on commit 61b11b4

Please sign in to comment.