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

Add non-blocking single-shot measurement #8

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Add non-blocking single-shot measurement #8

merged 1 commit into from
Dec 21, 2023

Conversation

t-moe
Copy link
Contributor

@t-moe t-moe commented Dec 14, 2023

...useful for async code.

Although the measure_single_shot cmd has an execution time of 5 secs, we can do other stuff in the meantime and come back to collect the sample after 5 seconds. This should be legal according to the chip datasheet, and seems to work in my test setup here.

@t-moe t-moe marked this pull request as draft December 21, 2023 08:19
@t-moe t-moe marked this pull request as ready for review December 21, 2023 08:36
@hauju hauju merged commit 63af3b8 into hauju:main Dec 21, 2023
1 check passed
@t-moe
Copy link
Contributor Author

t-moe commented Jan 4, 2024

@hauju
Do you mind pushing v0.2.2 to crates.io?

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.

None yet

2 participants