USBHOST_T36 library is not working on Teensy 4.1 Board

Status
Not open for further replies.

akinsibay

New member
Hi all,
I have a Teensy 4.1 board. I would like to use 5V and GND pins using USB Host.
I have downloaded USBHOST_T36 library and uploaded my 4.1 board but throwed an error below:

#error "USBHost_t36 only works with Teensy 3.6. Please select it in Tools > Boards"
I need 5V for my project. How can i receive 5V from USB host pin or another pins?
 
USBHost is included in TeensyDuino. The versions included in TD 1.53 is designed to work with T_3.6 and T_4.x - sounds like an update is needed.

And remove the local copy. Though TD 1.54b2 has an update - ... though is may get an update for beta 3
 
So just to clarify, does USBHost_t36 work on Teensy 4.1? I don't see a definitive answer here.

Yes, USBHost_t36 works very well on a Teensy 4.1. I have used it in the original version of my TeensyMIDIPolySynth (hardware pots, switches, pushbuttons, & LEDs), as well as in the enhanced version that I am currently working on (full digital control using an RA8875 touchpanel display w/ displayed sliders, buttons, & LEDs).

Good luck & have fun !!

Mark J Culross
KD5RXT
 
Yup, USBHost_t36 definitely does work on Teensy 4.1. Well, unless you use an old copy from before Feb 8, 2020, when Teensy 4.1 support was added. That's almost certainly what went wrong for the OP here.


I don't see a definitive answer here.

Aside from these forum answers, you can also find the definitive answer on the Teensy 4.1 product page under Communication > USB Host.

screenshot.png
 
Status
Not open for further replies.
Back
Top