https://youtu.be/99cUIxc72h0

Dependencies:   BLE_API mbed nRF51822

Revision:
0:24c8585f0f35
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Firmata.h	Fri Jul 14 10:35:54 2017 +0000
@@ -0,0 +1,13 @@
+#pragma once
+
+// message command bytes (128-255/0x80-0xFF)
+#define DIGITAL_MESSAGE         0x90 // send data for a digital port (collection of 8 pins)
+
+//
+#define START_SYSEX             0xF0 // start a MIDI Sysex message 
+#define END_SYSEX               0xF7 // end a MIDI Sysex message 
+
+// extended command set using sysex (0-127/0x00-0x7F)
+
+#define CAPABILITY_QUERY        0x6B // ask for supported modes and resolution of all pins
+#define CAPABILITY_RESPONSE     0x6C // reply with supported modes and resolution