Keyboard print does not work on Teensy LC

Status
Not open for further replies.

bigman73

New member
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
 
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:
Status
Not open for further replies.
Back
Top