diff options
| author | Donald Delmar Davis <don@suspectdevices.com> | 2013-09-24 03:43:02 -0700 |
|---|---|---|
| committer | Donald Delmar Davis <don@suspectdevices.com> | 2013-09-24 03:43:02 -0700 |
| commit | f2b40f208f8b343279c4e2277b0f5f3d806c3113 (patch) | |
| tree | 70c8051163ebbf7c88c9d11d20181e81c4471a72 | |
| parent | 231ccae009539268f31bd54a0970765548d5cfe3 (diff) | |
minor changes.
| -rw-r--r-- | README.md | 1 | ||||
| -rwxr-xr-x | reset.py | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -0,0 +1 @@ +The idea here is to create a lufa based midi framework for use on the stock arduino. @@ -89,8 +89,8 @@ try: message, delta_time = midi_in.get_message() if message: if (len(message)>14 and message[0]==SYSEX_BEGIN): #if its a sysex message - if (message[1]==SYSEX_NON_REAL_TIME and message[3]==SYSEX_GENERAL_INFO): - # and check to see that its a reply.... + if (message[1]==SYSEX_NON_REAL_TIME and message[3]==SYSEX_GENERAL_INFO + and message[4]==SYSEX_IDENTITY_REPLY ): print 'MANUFACTURER ID: 0x%02X 0x%02X 0x%02X' % ( message[5],message[6],message[7]) print "FAMILY ID : 0x%02X%02x" % ( |
