Hello, i wrote a short programm for my Digispark:
#include "DigiKeyboard.h"
void setup() {
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(5000);
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
DigiKeyboard.print("cmd");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
}
void loop() {
}
then I wantet to upload it to the Digispark, but then this error occurred:
Der Sketch verwendet 2.734 Bytes (45%) des Programmspeicherplatzes. Das Maximum sind 6.012 Bytes.
Globale Variablen verwenden 92 Bytes des dynamischen Speichers.
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
> Please plug in the device ...
> Press CTRL+C to terminate the program.
> Device search timed out
thx for help