djuseeq / Ch376msc

Arduino library for CH376 mass storage contoller
MIT License
75 stars 17 forks source link

MIDI #25

Open t0maszduda opened 4 years ago

t0maszduda commented 4 years ago

Hi

Is it possible sent MIDI data from Ch376 via TX from Arduino to USB MIDI iNTERFACE? IMG_4458

Thanks Tomasz

t0maszduda commented 4 years ago

as this: http://www.hobbytronics.co.uk/usb-host-board-v24

djuseeq commented 4 years ago

Hi Tomasz, sorry but with this library is not possible. This lib support just only storage controller mode.

t0maszduda commented 4 years ago

Yes I know. The question is is it possible at all do that without checking firmware?

Do you can make a little library for midi which sends Serial.begin(31250) from Arduino by tx straight to usb socket

Without any command for read/write files etc.

Wiadomość napisana przez György Kovács notifications@github.com w dniu 28.03.2020, o godz. 00:56:

 Hi Tomasz, sorry but with this library is not possible. This lib support just only storage controller mode.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

t0maszduda commented 4 years ago

I found something but this is USB Host Shield and I don't know is it similar to ch376 or not https://github.com/felis/USB_Host_Shield_2.0

djuseeq commented 4 years ago

Yes, it's possible to use with HID devices, i had an attempt in the past to write a code but i never finished. Takes too long time, and at the moment i don't have enough time. I would like to finish and if it succeeds I will make it public. With the shield in your link is possible also if you can find a lib, for file manage the ch376 is more easier because we don't need to bother with low level USB protocol or file system, just send the proper commands to the chip so our code takes up much less space in MCU.

t0maszduda commented 4 years ago

Thanks

I’m waiting for MIDI library:)

Best Regards Tom

Wiadomość napisana przez György Kovács notifications@github.com w dniu 28.03.2020, o godz. 12:00:

Yes, it's possible to use with HID devices, i had an attempt in the past to write a code but i never finished. Takes too long time, and at the moment i don't have enough time. I would like to finish and if it succeeds I will make it public. With the shield in your link is possible also if you can find a lib, for file manage the ch376 is more easier because we don't need to bother with low level USB protocol or file system, just send the proper commands to the chip so our code takes up much less space in MCU.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/djuseeq/Ch376msc/issues/25#issuecomment-605431215, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONIDEFM3U5IHZI73EXF4TRJXKD3ANCNFSM4LU5IALA.