cedargrovestudios / ad9833_featherwing Goto Github PK
View Code? Open in Web Editor NEWPrecision Waveform Generator FeatherWing
License: Other
Precision Waveform Generator FeatherWing
License: Other
hiya, we have a person who is using this library with issues
https://forums.adafruit.com/viewtopic.php?f=62&t=188798
and a few things would help debug the library:
(we can help with both if you need)
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
==
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.