# main.py -- put your code here!

import pyb
hid = pyb.USB_HID()
def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)
    
def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)
    
def press_2key(key1,key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)

def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)

pyb.delay(5000)
press_key_once(0x04)
release_key_once()
pyb.delay(1000)
press_key_once(0x05)
release_key_once()
pyb.delay(1000)
press_key_once(0x2B)
release_key_once()
pyb.delay(1000)
press_key_once(0x28)
release_key_once()
pyb.delay(1000)
press_key_once(0x06)
release_key_once()
pyb.delay(1000)
press_key_once(0x07)
release_key_once()
pyb.delay(1000)
press_2key(0x08,0x09)
release_2key()

pyb.delay(1000)

59277b1e103a9f6e8b75e24a22a5d33176af51fa
<mask token>


def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)


def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)


def press_2key(key1, key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)


def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)


<mask token>

<mask token>


def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)


def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)


def press_2key(key1, key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)


def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)


pyb.delay(5000)
press_key_once(4)
release_key_once()
pyb.delay(1000)
press_key_once(5)
release_key_once()
pyb.delay(1000)
press_key_once(43)
release_key_once()
pyb.delay(1000)
press_key_once(40)
release_key_once()
pyb.delay(1000)
press_key_once(6)
release_key_once()
pyb.delay(1000)
press_key_once(7)
release_key_once()
pyb.delay(1000)
press_2key(8, 9)
release_2key()
pyb.delay(1000)

<mask token>
hid = pyb.USB_HID()


def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)


def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)


def press_2key(key1, key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)


def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)


pyb.delay(5000)
press_key_once(4)
release_key_once()
pyb.delay(1000)
press_key_once(5)
release_key_once()
pyb.delay(1000)
press_key_once(43)
release_key_once()
pyb.delay(1000)
press_key_once(40)
release_key_once()
pyb.delay(1000)
press_key_once(6)
release_key_once()
pyb.delay(1000)
press_key_once(7)
release_key_once()
pyb.delay(1000)
press_2key(8, 9)
release_2key()
pyb.delay(1000)

import pyb
hid = pyb.USB_HID()


def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)


def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)


def press_2key(key1, key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)


def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)


pyb.delay(5000)
press_key_once(4)
release_key_once()
pyb.delay(1000)
press_key_once(5)
release_key_once()
pyb.delay(1000)
press_key_once(43)
release_key_once()
pyb.delay(1000)
press_key_once(40)
release_key_once()
pyb.delay(1000)
press_key_once(6)
release_key_once()
pyb.delay(1000)
press_key_once(7)
release_key_once()
pyb.delay(1000)
press_2key(8, 9)
release_2key()
pyb.delay(1000)

# main.py -- put your code here!

import pyb
hid = pyb.USB_HID()
def release_key_once():
    buf = bytearray(8)
    buf[2] = 0
    hid.send(buf)
    pyb.delay(10)
    
def press_key_once(key):
    buf = bytearray(8)
    buf[2] = key
    hid.send(buf)
    pyb.delay(10)
    
def press_2key(key1,key2):
    buf = bytearray(8)
    buf[2] = key1
    buf[3] = key2
    hid.send(buf)
    pyb.delay(10)

def release_2key():
    buf = bytearray(8)
    buf[2] = 0
    buf[3] = 0
    hid.send(buf)
    pyb.delay(10)

pyb.delay(5000)
press_key_once(0x04)
release_key_once()
pyb.delay(1000)
press_key_once(0x05)
release_key_once()
pyb.delay(1000)
press_key_once(0x2B)
release_key_once()
pyb.delay(1000)
press_key_once(0x28)
release_key_once()
pyb.delay(1000)
press_key_once(0x06)
release_key_once()
pyb.delay(1000)
press_key_once(0x07)
release_key_once()
pyb.delay(1000)
press_2key(0x08,0x09)
release_2key()

pyb.delay(1000)
