Giter VIP home page Giter VIP logo

ad9833_featherwing's People

Contributors

cedargrovestudios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

koson

ad9833_featherwing's Issues

pass in SPI bus, use contribution bundle release

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:

  • like other libraries that use SPI, you should not be creating the SPI device, it should be passed in as an argument
  • instead of generating mpy's that will not stay up to date, submit the library to the bundle https://github.com/adafruit/CircuitPython_Community_Bundle and do proper releases on version changes

(we can help with both if you need)

'AD9833' class object has no attribute '_pause'

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

==

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.