/* Released into the public domain */ /* Earle F. Philhower, III */ #include void setup() { Serial.begin(115200); KeyboardBLE.begin(); delay(5000); Serial.printf("Arduino USB Password Typer\n"); Serial.printf("Press BOOTSEL to enter your super-secure(not!) password\n\n"); } void loop() { if (BOOTSEL) { Serial.println("Typing password for you...shhhh...."); KeyboardBLE.print("ThisPasswordIsWeakLikeABaby"); KeyboardBLE.setBattery(random(0, 101)); // Set between 0...100% while (BOOTSEL); } }