Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy 4.0: need an example of using USB host

  1. #1
    Member
    Join Date
    Mar 2019
    Location
    Hoboken, New Jersey, USA
    Posts
    61

    Teensy 4.0: need an example of using USB host

    I want to connect a MIDI keyboard to the USB host on Teensy 4.
    Just can' t find any examples of reading from it.

    If anybody has an example of reading data from the USB Host (D+/D-) port on Teensy 4.0, please send it my way.

    Thanks.

  2. #2
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    136
    Arduino filemenu->Examples->USBHost_t36->Serial->MIDI->InputFunctions.ino

  3. #3
    Member
    Join Date
    Mar 2019
    Location
    Hoboken, New Jersey, USA
    Posts
    61
    Found it:
    C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\USBHos t_t36\examples\Serial\MIDI\InputFunctions

    I just got the connector and the current limiter. Will try it this weekend.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •