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

Thread: USBHOST_T36 library is not working on Teensy 4.1 Board

  1. #1
    Junior Member
    Join Date
    Oct 2020
    Posts
    4

    USBHOST_T36 library is not working on Teensy 4.1 Board

    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?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,647
    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

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,976
    Looks like this was duplicated on github

    https://github.com/PaulStoffregen/USBHost_t36/issues/41

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,976
    This is very likely an old or corrupted software install.

    Please download a fresh copy of Arduino 1.8.13 and Teensduino 1.53. Follow the install steps on this page:

    https://www.pjrc.com/teensy/td_download.html

Posting Permissions

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