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

Commit

Permalink
Version 2.19
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYsLab authored and MrYsLab committed Sep 29, 2017
1 parent 699a407 commit 32dbaf2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## Release 2.19
28 September 2017

* Fixes bug in accepting analog data from a Mega 2560 pin 15.

## Release 2.18 (overwrites 2.17)

17 September 2017
Expand Down
2 changes: 1 addition & 1 deletion pymata_aio/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_VERSION = "2.18"
PYMATA_VERSION = "2.19"

# each byte represents a digital port
# and its value contains the current port settings
Expand Down
2 changes: 1 addition & 1 deletion pymata_aio/pymata_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ async def _command_dispatcher(self):
sysex = []
await asyncio.sleep(self.sleep_tune)
# if this is an analog message, process it.
elif 0xE0 <= next_command_byte < 0xEF:
elif 0xE0 <= next_command_byte <= 0xEF:
# analog message
# assemble the entire analog message in command
command = []
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='pymata-aio',
version='2.18',
version='2.19',
packages=['pymata_aio'],
install_requires=['pyserial==2.7', 'websockets'],
url='https://github.com/MrYsLab/pymata-aio/wiki',
Expand Down

0 comments on commit 32dbaf2

Please sign in to comment.