Arduino HID (From Argentina)

Hi friends, sorry for mi bad english...

i need help with the code...

i have this

#include "Keyboard.h"
#include "HID.h"

void setup() {

  Keyboard.begin();
}


void loop() {

delay (1000);
  Keyboard.write(65);


delay (3000);
  Keyboard.write(66);

}

this work, but is not that locking for...

this code give me only one "A" and one "B" letter in 4 seconds.

i need tha letter "A" appears every second (1000ms) and the letter "B" every 3 seconds (3000ms)

can u help me ?

sorry for my bad english

tnks very much

Spend some time with the example sketch File > Examples > 02.Digital > BlinkWithoutDelay and the associated tutorial:

Then you only need to modify the technique you learned to type instead of blink.