mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
stm32 spi read working
This commit is contained in:
@@ -69,7 +69,8 @@ def raw_input_event_worker():
|
||||
if data[0] == EV_KEY:
|
||||
to_transfer = keyboard_spi_msg_header + data
|
||||
to_transfer[3] = keyboard_opened_device_dict[key][1]
|
||||
spi.xfer(to_transfer)
|
||||
# spi.xfer(to_transfer)
|
||||
spi.xfer([0x15]*32)
|
||||
print('sent')
|
||||
# print(key)
|
||||
# print(to_transfer)
|
||||
|
||||
Reference in New Issue
Block a user