doublebuf
Ondřej Hruška 7 years ago
parent aefa2bdb1a
commit 23c712848b
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 5
      main.py

@ -4,6 +4,8 @@ import gex
client = gex.Client() client = gex.Client()
#print(client.ini_read())
if False: if False:
s = client.ini_read() s = client.ini_read()
client.ini_write(s) client.ini_write(s)
@ -79,5 +81,4 @@ if False:
if True: if True:
spi = gex.SPI(client, 'spi') spi = gex.SPI(client, 'spi')
spi.write(0, [0xA1]) print(spi.query(0, [0xDE, 0xAD, 0xBE, 0xEF], rlen=4, rskip=1))
print("SPI done.")

Loading…
Cancel
Save