Skip to content

Commit ef3dd0e

Browse files
authored
Update README.rst
Added missing imports in example README.rst
1 parent 7f30d86 commit ef3dd0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ Usage Example
6161
import usb_midi
6262
import adafruit_midi
6363
64+
from adafruit_midi.note_on import NoteOn
65+
from adafruit_midi.note_off import NoteOff
66+
from adafruit_midi.pitch_bend import PitchBend
67+
from adafruit_midi.control_change import ControlChange
68+
6469
midi = adafruit_midi.MIDI(midi_out=usb_midi.ports[1], out_channel=0)
6570
6671
print("Midi test")

0 commit comments

Comments
 (0)