Skip to content

File MIDI_USBH_Input.cpp

FileList > examples > MIDI_USBH_Input > MIDI_USBH_Input.cpp

Go to the source code of this file

  • #include "daisy_seed.h"
  • #include "usbh_midi.h"

Public Attributes

Type Name
FIFO< MidiEvent, 128 > event_log
DaisySeed hw
MidiUsbHandler midi
USBHostHandle usbHost

Public Functions

Type Name
void USBH_ClassActive (void * data)
void USBH_Connect (void * data)
void USBH_Disconnect (void * data)
void USBH_Error (void * data)
int main (void)

Public Attributes Documentation

variable event_log

FIFO<MidiEvent, 128> event_log;

FIFO to hold messages as we're ready to print them


variable hw

DaisySeed hw;

Global Hardware access


variable midi

MidiUsbHandler midi;

variable usbHost

USBHostHandle usbHost;

Public Functions Documentation

function USBH_ClassActive

void USBH_ClassActive (
    void * data
) 

function USBH_Connect

void USBH_Connect (
    void * data
) 

function USBH_Disconnect

void USBH_Disconnect (
    void * data
) 

function USBH_Error

void USBH_Error (
    void * data
) 

function main

int main (
    void
) 


The documentation for this class was generated from the following file external-docs/libDaisy/examples/MIDI_USBH_Input/MIDI_USBH_Input.cpp