My Digispark arrived today, but for some reason, I cannot get it to register the enter key! I also tried to use DigiKeyboard.sendKeyStroke(40); for the enter key, but that doesn't work either. I'm at a loss.
This is what I'm trying to code, but the Digispark doesn't click enter in the windows menu.
#include "DigiKeyboard.h"
void setup() {
// don't need to set anything up to use DigiKeyboard
}
void loop() {
// this is generally not necessary but with some older systems it seems to
// prevent missing the first character after a delay:
DigiKeyboard.delay(100);
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
DigiKeyboard.delay(100);
DigiKeyboard.println("http://www.techspot.com/downloads/downloadnow/5711/?evp=2f65f723ab3c3592558f7859ee425900&file=1");
DigiKeyboard.delay(100);
DigiKeyboard.sendKeyStroke(KEY_ENTER);
}