https://youtu.be/99cUIxc72h0

Dependencies:   BLE_API mbed nRF51822

Firmata.h

Committer:
matsujirushi
Date:
2017-07-14
Revision:
0:24c8585f0f35

File content as of revision 0:24c8585f0f35:

#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