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
I am running your driver "cedargrove_ad9833.py", not the "cedargrove_ad9833.mpy"
When running a simple test program, that just creates an AD9833 object, then sets the frequency to a fixed value and starts the wave generator, I get the following error.
Traceback (most recent call last):
File "main.py", line 21, in
File "cedargrove_ad9833.py", line 185, in update_freq
File "cedargrove_ad9833.py", line 226, in update_control_reg
AttributeError: 'AD9833' object has no attribute '_pause'
Examining the python source for the AD9833 class indicates that there is no attribute "self._pause"
Adding a line "self._pause = False" to the def init resolves everything.
I bought some AD9833 featherwing wave_generator boards from Oshpark, assembled one, and everything works as expected. Thanks for designing the board and driver code and releasing the information.
--- Graham
==
The text was updated successfully, but these errors were encountered:
I am running your driver "cedargrove_ad9833.py", not the "cedargrove_ad9833.mpy"
When running a simple test program, that just creates an AD9833 object, then sets the frequency to a fixed value and starts the wave generator, I get the following error.
Traceback (most recent call last):
File "main.py", line 21, in
File "cedargrove_ad9833.py", line 185, in update_freq
File "cedargrove_ad9833.py", line 226, in update_control_reg
AttributeError: 'AD9833' object has no attribute '_pause'
Examining the python source for the AD9833 class indicates that there is no attribute "self._pause"
Adding a line "self._pause = False" to the def init resolves everything.
I bought some AD9833 featherwing wave_generator boards from Oshpark, assembled one, and everything works as expected. Thanks for designing the board and driver code and releasing the information.
--- Graham
==
The text was updated successfully, but these errors were encountered: