add blemidi_callback example

This commit is contained in:
hathach committed 2017-03-08 17:23:15 +07:00
1 parent d873a6c5ed
commit d342f4a6a2
3 files changed
+153 -8

No files matched your search

@@ -146,6 +146,9 @@ void BLEMidi::_write_handler(uint8_t* data, uint16_t len)
header.byte = *data++;
len--;
// not support SysEx
if ( data[0] == 0xF0 ) return;
while (len)
{
/* event : 0x00 - 0x7F