Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move ADC driver to C extension #60

Open
alexanderhiam opened this issue Mar 31, 2015 · 0 comments
Open

Move ADC driver to C extension #60

alexanderhiam opened this issue Mar 31, 2015 · 0 comments
Milestone

Comments

@alexanderhiam
Copy link
Member

adc.py should be replaced by a C extension (bbio/platform/beaglebone/adc.c) with the same API.

It could be done in the same way as the GPIO C extension, where the AIN files are left open, in which case it should also provide a C API to use in other extensions. This could be done in phases, i.e. start with a simple extension, then add the C API later on, in a future release perhaps.

adc.py: https://github.com/graycatlabs/PyBBIO/blob/master/bbio/platform/beaglebone/adc.py

@alexanderhiam alexanderhiam added this to the v0.9.4 milestone Mar 31, 2015
@alexanderhiam alexanderhiam modified the milestones: v0.9.5, v0.9.6 May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant