Fix import in pio_spi.py

This commit is contained in:
Andrew Scheller 2021-02-04 11:46:43 +00:00 committed by GitHub
parent b89b320681
commit f16d90de30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
from rp2 import PIO, asm_pio
import rp2
from machine import Pin
@rp2.asm_pio(out_shiftdir=0, autopull=True, pull_thresh=8, autopush=True, push_thresh=8, sideset_init=(rp2.PIO.OUT_LOW, rp2.PIO.OUT_HIGH), out_init=rp2.PIO.OUT_LOW)