Skip to content

Instantly share code, notes, and snippets.

@mschmitt
Created January 13, 2022 07:29
Show Gist options
  • Save mschmitt/bd29c1cfc2dc59727a2b6afde535e177 to your computer and use it in GitHub Desktop.
Save mschmitt/bd29c1cfc2dc59727a2b6afde535e177 to your computer and use it in GitHub Desktop.
Automatic BIOS password entry for computers in a remote lab
#include "HID-Project.h"
#define WAIT_SECS 900
void setup() {
BootKeyboard.begin();
delay(10 * 1000);
}
void loop() {
BootKeyboard.println("Start");
for (int i=0; i<WAIT_SECS; i++) {
BootKeyboard.write(KEY_CAPS_LOCK);
delay(1000);
}
}
/*
*
This is a safe space. Place cursor here while uploading:
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment