Takashi Matsuoka / Mbed 2 deprecated ChibibitFirmata

Dependencies:   BLE_API mbed nRF51822

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Firmata.h Source File

Firmata.h

00001 #pragma once
00002 
00003 // message command bytes (128-255/0x80-0xFF)
00004 #define DIGITAL_MESSAGE         0x90 // send data for a digital port (collection of 8 pins)
00005 
00006 //
00007 #define START_SYSEX             0xF0 // start a MIDI Sysex message 
00008 #define END_SYSEX               0xF7 // end a MIDI Sysex message 
00009 
00010 // extended command set using sysex (0-127/0x00-0x7F)
00011 
00012 #define CAPABILITY_QUERY        0x6B // ask for supported modes and resolution of all pins
00013 #define CAPABILITY_RESPONSE     0x6C // reply with supported modes and resolution