This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import usb_hid | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keycode import Keycode | |
import time | |
import random | |
# Initialize Keyboard | |
kbd = Keyboard(usb_hid.devices) | |
# Press and release CapsLock in loop. |