diff --git a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino index 97c626e..69e0569 100644 --- a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino +++ b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino @@ -198,7 +198,7 @@ void loop() const midi::Channel channel = 1; const byte semitones = 12; const byte cents = 42; - MIDI.startRpn(midi::PitchBendSensitivity, channel); + MIDI.beginRpn(midi::RPN::PitchBendSensitivity, channel); MIDI.sendRpnValue(semitones, cents, channel); MIDI.endRpn(channel); }