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

Search:

Type: Posts; User: JasonH

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    95

    Yeah, I was hoping the unit would be able to keep...

    Yeah, I was hoping the unit would be able to keep up, but it just can't.

    I restructured it in a few ways. I have consolidated the mouse move commands, and supplied:
    1. an off-board function that...
  2. Replies
    2
    Views
    95

    Missing serial data

    The application I am working on reads an 8 byte packet from the serial port. It then translates that to mouse movement.
    Unfortunately what happens is eventually a byte or more gets lost from the...
  3. So here's my (last?) problem. How do I send...

    So here's my (last?) problem.
    How do I send Ctrl+Esc?
    The example: https://www.pjrc.com/teensy/td_keyboard.html
    Doesn't send esc, which is a two-byte code, so set_key can't be used.
  4. So two things: the codes at...

    So two things: the codes at https://github.com/PaulStoffregen/cores/blob/master/teensy3/keylayouts.h work
    And I had mistakenly limited myself to 8-bit codes. The keys codes are 16 bit, which is...
  5. Teensy LC HID: Not all keys work on Android

    So I am having some success with my project, but I am having trouble using the following keys:
    ENTER
    LEFT_ARROW
    RIGHT_ARROW

    I can type normal text and backspace, and shift works.

    I am...
  6. Replies
    1
    Views
    59

    Nevermind! It worked on the same computer because...

    Nevermind! It worked on the same computer because the grounds are connected. To the phone, they were not. Connecting the FTDI ground to the Teensy ground resolved the issue.

    (I thought it was a...
  7. Replies
    1
    Views
    59

    TeensyLC as HID + serial +USB OTG

    I have a TeensyLC in HID mode and a serial port (Serial2).

    I wrote code to take serial commands and turn them into HID events.

    I use an 8-byte packet that is read and decoded which uses...
Results 1 to 7 of 7