
https://youtu.be/99cUIxc72h0
Dependencies: BLE_API mbed nRF51822
Firmata.h@0:24c8585f0f35, 2017-07-14 (annotated)
- Committer:
- matsujirushi
- Date:
- Fri Jul 14 10:35:54 2017 +0000
- Revision:
- 0:24c8585f0f35
1st commit.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
matsujirushi | 0:24c8585f0f35 | 1 | #pragma once |
matsujirushi | 0:24c8585f0f35 | 2 | |
matsujirushi | 0:24c8585f0f35 | 3 | // message command bytes (128-255/0x80-0xFF) |
matsujirushi | 0:24c8585f0f35 | 4 | #define DIGITAL_MESSAGE 0x90 // send data for a digital port (collection of 8 pins) |
matsujirushi | 0:24c8585f0f35 | 5 | |
matsujirushi | 0:24c8585f0f35 | 6 | // |
matsujirushi | 0:24c8585f0f35 | 7 | #define START_SYSEX 0xF0 // start a MIDI Sysex message |
matsujirushi | 0:24c8585f0f35 | 8 | #define END_SYSEX 0xF7 // end a MIDI Sysex message |
matsujirushi | 0:24c8585f0f35 | 9 | |
matsujirushi | 0:24c8585f0f35 | 10 | // extended command set using sysex (0-127/0x00-0x7F) |
matsujirushi | 0:24c8585f0f35 | 11 | |
matsujirushi | 0:24c8585f0f35 | 12 | #define CAPABILITY_QUERY 0x6B // ask for supported modes and resolution of all pins |
matsujirushi | 0:24c8585f0f35 | 13 | #define CAPABILITY_RESPONSE 0x6C // reply with supported modes and resolution |