Microbit as hid keyboard

HI! I’m creating a project where I need my microbit to function as a keyboard emulator once connected via USB to a PC repeating a series of characters endlessly. I struggle to find clear information on the subject and the code.


You are in the makecode arcade section- we don’t do microbit here, thats #microbit !