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

ADC API #21

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

BucurCK
Copy link

@BucurCK BucurCK commented Apr 2, 2023

Starting working on ADC API implementation #10 based on the libtock-c

Implemented so far:

  • driver API:
    • count( get all the adc channels and changes the value provided, used for exists)
    • exists ( because of the syscall S::command(DRIVER_NUM,0,0,0) returns the number of adc channels, we verify that the number is greater than 0 , dependent on count )
  • simple adc example to test if the driver is available

@BucurCK BucurCK changed the title ADC api ADC API Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant