Hi there so trying to use my pro micro to received keys via serial then send them back as a keyboard
dunno if im missing something but it just will not work the way i need
#include <Keyboard.h>
void setup() {
Serial.begin(9600);
}
void loop() {
if (Serial.available() > 0) {
byte key = Serial.read();//Key
Keyboard.write(key);// Will not work
Keyboard.write('A');// Works
}
delay(100);
}
Thanks for the helps guys still not got it working the way i wanted but appears to be something to do with how my c# app is sending data
as using arduino to send same data and it works