Re-fix example.
This commit is contained in:
parent
154b87f8d3
commit
dc478a3656
|
|
@ -198,7 +198,7 @@ void loop()
|
||||||
const midi::Channel channel = 1;
|
const midi::Channel channel = 1;
|
||||||
const byte semitones = 12;
|
const byte semitones = 12;
|
||||||
const byte cents = 42;
|
const byte cents = 42;
|
||||||
MIDI.startRpn(midi::PitchBendSensitivity, channel);
|
MIDI.beginRpn(midi::RPN::PitchBendSensitivity, channel);
|
||||||
MIDI.sendRpnValue(semitones, cents, channel);
|
MIDI.sendRpnValue(semitones, cents, channel);
|
||||||
MIDI.endRpn(channel);
|
MIDI.endRpn(channel);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue