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

Thread: Keyboard print does not work on Teensy LC

  1. #1
    Junior Member
    Join Date
    Feb 2018
    Posts
    2

    Keyboard print does not work on Teensy LC

    Hi,
    I got the teensy LC today.
    Blink worked out of the box. I wrote some a more advanced blink sample program on the another pin, as well as input from a button and the controller is responding and functioning as expected.

    Windows 10 64 bit, no anti virus.

    But I cannot get the Keyboard functionality to work.

    I used the vanilla hello world code:
    Code:
    int count = 0;
    void setup() { } // no setup needed
    void loop() {
      Keyboard.print("Hello World "); 
      Keyboard.println(count);
      count = count + 1;
      delay(2000);
    }
    Nothing happens.

    Please advise

  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    2
    I used the Microsoft way and rebooted the PC
    Keyboard.print started to work

    But then the problem returned after 4-5 uploads. The keyboard print stops working even though the sketch is running - I can see the led blinking and the button responding

    Is there any way to reset the HID driver?
    Last edited by bigman73; 02-16-2018 at 01:13 AM.

Posting Permissions

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