mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Merge branch 'midi'
This commit is contained in:
commit
88fe28f7f5
1 changed files with 5 additions and 2 deletions
|
@ -66,6 +66,9 @@ protected:
|
|||
public:
|
||||
uint16_t pid, vid;
|
||||
USBH_MIDI(USB *p);
|
||||
operator bool() { return (pUsb->getUsbTaskState()==USB_STATE_RUNNING && isMidiFound); }
|
||||
uint16_t idVendor() { return vid; }
|
||||
uint16_t idProduct() { return pid; }
|
||||
// Methods for recieving and sending data
|
||||
uint8_t RecvData(uint16_t *bytes_rcvd, uint8_t *dataptr);
|
||||
uint8_t RecvData(uint8_t *outBuf, bool isRaw=false);
|
||||
|
|
Loading…
Reference in a new issue