alexandros
Well-known member
I'm trying to use a Teensy LC as a keyboard and a serial device at the same time, choosing USB Type -> Serial + Keyboard + Mouse + Joystick from the Tools menu, but uploading the code below will just print 'a' and won't send backspace:
Isn't 8 ASCII backspace? How can I send it?
Code:
#include "Keyboard.h";
void setup() {
// put your setup code here, to run once:
Keyboard.begin();
Serial.begin(57600);
delay(5000);
Keyboard.write('a');
delay(1000);
Keyboard.write(8);
}
void loop() {
}
Isn't 8 ASCII backspace? How can I send it?