Skip to content

dadamachines/usbh_midi_samd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

usbh_midi_samd

USB Host MIDI for Arduino SAMD boards

usbh_midi_samd is the USBH_MIDI driver from the USB Host Shield 2.0 project to the ArduinoCore-samd project. Most of the time was spent fixing bulk in/out pipes. A USB OTG to host cable or adapter is required.

The driver has been tested minimally on an Arduino Zero but it should work on other boards based on the SAMD family. For example, the driver works on an Adafruit Trinket M0.

Changes are needed to the following ArduinoCore-samd files:

  • cores/arduino/USB/samd21_host.c
  • libraries/USBHost/src/address.h
  • libraries/USBHost/src/Usb.cpp

NOTE: To successfully compile the project don't keep backup files of the original files in the same folder.

All of the USBH_MIDI files require trivial renaming changes.

By the way, the fix described in arduino/ArduinoCore-samd#271 is included.

About

USB Host MIDI for Arduino SAMD boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.4%
  • C 15.6%