Update pio_spi.py
Missing import, see comments in raspberrypi/pico-micropython-examples#14pull/15/head
rodzic
16c0439da6
commit
c873588693
|
@ -1,3 +1,4 @@
|
||||||
|
from rp2 import PIO, asm_pio
|
||||||
from machine import Pin
|
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)
|
@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)
|
||||||
|
|
Ładowanie…
Reference in New Issue