You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heya Kip!
I'm having some issues with running this on Raspberry Pi Pico.
My code is:
from machine import Pin, SPI
from ad9833 import AD9833
spi = SPI(1, baudrate=9600, polarity=1, phase=0,firstbit=SPI.MSB)
ss = Pin(0, Pin.OUT, Pin.PULL_UP)
wave = AD9833(spi, ss)
wave.set_freq(14500)
wave.set_type(0)
wave.send()
print(wave.shape_type)
and I’m getting this error message: Traceback (most recent call last): File "<stdin>", line 11, in <module> File "ad9833.py", line 57, in send File "ad9833.py", line 20, in _send AttributeError: 'SPI' object has no attribute 'send'
P.S I'm new to both Raspberry Pi Pico and Python I'm sorry if it’s a very basic question.
The text was updated successfully, but these errors were encountered:
Heya Kip!
I'm having some issues with running this on Raspberry Pi Pico.
My code is:
and I’m getting this error message:
Traceback (most recent call last): File "<stdin>", line 11, in <module> File "ad9833.py", line 57, in send File "ad9833.py", line 20, in _send AttributeError: 'SPI' object has no attribute 'send'
P.S I'm new to both Raspberry Pi Pico and Python I'm sorry if it’s a very basic question.
The text was updated successfully, but these errors were encountered: