Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: btspp

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    92

    Detect when host polls keyboard or mouse?

    Can Teensy acting as a keyboard or mouse know when the host PC polls for key state or mouse state?

    I want to prepare key state before the next poll from the host? If I use Metro with 16ms...
  2. Replies
    0
    Views
    120

    Connect multiple Teensy to one ground pin?

    How can I connect multiple Teensy to one ground pin?

    If I connect multiple client Teensy by serial to a host Teensy, the host only has 2 ground pins.

    Is there anything that combines multiple...
  3. Has anyone run into this? I could not find it by...

    Has anyone run into this? I could not find it by searching.

    For one device, my Teensy as Audio (using the source above) can receive audio, but stops sending when another Teensy (as keyboard mouse...
  4. Teensy as Keyboard/Mouse device connected to Teensy USB Host

    Has anyone tried connecting Teensy as a Keyboard/Mouse device to the USB Host of a Teensy 4.1? I tried once with the Mouse example and couldn’t get it to work. I just wanted to know if there is a...
  5. Replies
    8
    Views
    718

    If it doesn’t work connected to the adapter, try...

    If it doesn’t work connected to the adapter, try using a USB hub on the adapter or try other adapters.
  6. Replies
    8
    Views
    718

    I had an issue in this link....

    I had an issue in this link. https://forum.pjrc.com/threads/69032-AudioRecordQueue-never-available-after-Windows-records-once

    Paul’s article on a USB hub bug....
  7. Replies
    8
    Views
    718

    How is the iPhone connected to the Teensy? USB...

    How is the iPhone connected to the Teensy? USB hubs may cause issues. Try connecting directly or with different ports.
  8. I can send and receive from two PCs now. On...

    I can send and receive from two PCs now.

    On one PC, I could only receive when the Teensy was connected to a USB hub. I could send and receive when the Teensy was connected directly to the USB...
  9. Separating the sketches had no affect. I moved...

    Separating the sketches had no affect.

    I moved one Teensy to another PC. The problem now is I can send audio from PC1 to PC2, but the Teensy can't send audio from PC2 to PC1.

    It's the same if I...
  10. Start recording on the receiving Teensy. Play...

    Start recording on the receiving Teensy.

    Play a sound from the transmitting Teensy.

    Receiving Teensy records the sound.

    Sound ends.

    Play a sound from the transmitting Teensy.
  11. It didn't make a difference. I need the delay to...

    It didn't make a difference. I need the delay to see Serial.print messages. Serial Monitor hits a buffer limit without the delay.
  12. Replies
    8
    Views
    2,202

    The source is at...

    The source is at https://forum.pjrc.com/threads/69032-AudioRecordQueue-never-available-after-Windows-records-once
  13. #include #include #include...

    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>

    AudioInputI2S i2s2; //xy=105,63
    AudioInputUSB usb1; //xy=200,69 (must set Tools > USB Type to...
  14. AudioRecordQueue never available after Windows records once

    I have two Teensy 4.0 as Audio devices connected on Serial1 to send and receive audio.

    AudioInputUSB -> AudioRecordQueue -> Serial1.write

    Serial1.read -> AudioPlayQueue -> AudioOutputUSB
    ...
  15. Replies
    8
    Views
    2,202

    I have this working by adding Serial1 read and...

    I have this working by adding Serial1 read and write to this example using usb and queues.

    https://forum.pjrc.com/threads/51154-PassThroughUSB-with-queues

    A problem I have is my Teensies stop...
  16. Replies
    56
    Views
    5,770

    Can we use this to transfer audio over serial? I...

    Can we use this to transfer audio over serial? I want to send and receive audio between two Teensies connected by the serial pins.
  17. Replies
    8
    Views
    2,202

    Did you get this to work?

    Did you get this to work?
  18. Teensy Mouse connected to slow polling USB host?

    What happens to Mouse.move inputs when the USB host has a 125hz polling rate and the bInterval for Teensy is 1 or 1000hz?

    How does Teensy or USB work when Mouse.move is called multiple times in a...
  19. Xbox One loses Mouse.move input, PS4 doesn’t

    Xbox One loses Mouse.move input if called many times in a loop. The PS4 never loses input.

    Googling shows Xbox One poll rate is 125hz for mouse. PS4 is 250hz.

    I tried changing bInterval to 4...
  20. Replies
    25
    Views
    7,906

    How do I connect ground wires if I connect 4...

    How do I connect ground wires if I connect 4 teensies to a teensy 4.1 that only has 3 ground pins?
  21. Replies
    25
    Views
    7,906

    Can I connect the RX to TX directly with a wire...

    Can I connect the RX to TX directly with a wire or do we need a chip between them?
  22. Replies
    1
    Views
    437

    Does the USB Host Cable need 5 pins?

    Does the USB Host Cable need 5 pins or can I use a 4 pin cable?
  23. Teensy 4.1 can act as a keyboard to the PC and...

    Teensy 4.1 can act as a keyboard to the PC and you can connect the gaming keyboard to the Teensy with a USB Host cable.
  24. Replies
    968
    Views
    125,991

    Is there anything implemented in USBHost_t36...

    Is there anything implemented in USBHost_t36 bluetooth.cpp that lets a PC application send commands to a Teensy without getting into driver/kernel stuff?
  25. USB Host Shield 2.0...

    USB Host Shield 2.0 has source for Bluetooth SPP. Are there any relations to USBHost_t36?

    This comment suggests USB Host Library version 3.0 will work with Teensy 4.1.
  26. To use Bluetooth serial ports between two Windows...

    To use Bluetooth serial ports between two Windows PCs:
    - Go to Bluetooth Settings
    - Add an Incoming COM port on computer A
    - Connect to the Incoming COM port with putty on computer A (required to...
  27. Replies
    968
    Views
    125,991

    Are there any guides for communicating over...

    Are there any guides for communicating over Bluetooth serial ports with a PC? Windows has COM Ports in Bluetooth Settings and I have a USB Bluetooth dongle connected to a Teensy 4.1. Would I have to...
  28. Teensy 4.1 USB Host Bluetooth Dongle Serial Ports?

    Is it possible to use serial ports on a Bluetooth dongle connected to the USB Host?

    Does anyone know if USBHost_t36 supports SPP?

    Edit: Apologies if this is the wrong forum to post it. I found...
Results 1 to 28 of 29