Documenatation for USB-MIDI as client?

20 views
Skip to first unread message

Dave Smith

unread,
Oct 16, 2022, 2:42:09 PM10/16/22
to TinyGoMIDI
I have this working, in that the Xiao RP2040 shows up as a MIDI device.

But I'm lost from here, is there any documentation?

package main

import (
   "machine"
   "machine/usb"
)

func init() {
   machine.EnableMIDI(midiTx, midiRx, midiSetup)
}

func main() {
}

func midiRx(bs []byte) {
}

func midiTx() {
}

func midiSetup(sup usb.Setup) bool {
   return true
}


Reply all
Reply to author
Forward
0 new messages