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

examples: sensors: Support moisture readings #475

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

alistair23
Copy link
Contributor

Support the new moisture sensor and add a environment sensor example application

@alistair23 alistair23 force-pushed the alistair/moisture branch 2 times, most recently from cac22d8 to e73423c Compare November 12, 2024 09:56
Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, only blocking comment is the 'example output'.


Any reason to have a new app here instead of adding to the existing sensors app ( https://github.com/tock/libtock-c/tree/master/examples/sensors ) ?

examples/enviro_sensor/README.md Outdated Show resolved Hide resolved
@alistair23 alistair23 changed the title examples: enviro_sensor: Support a environment sensor example examples: sensors: Support moisture readings Nov 13, 2024
@alistair23
Copy link
Contributor Author

Any reason to have a new app here instead of adding to the existing sensors app ( https://github.com/tock/libtock-c/tree/master/examples/sensors ) ?

Nope! I just didn't know that existed. I've switched to using that instead

@alistair23 alistair23 force-pushed the alistair/moisture branch 2 times, most recently from 204d3c5 to 0cb891f Compare November 14, 2024 00:02
ppannuto
ppannuto previously approved these changes Nov 14, 2024
Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; the 'example output' for sensors is a bit awkward, as we don't have any board with all of the sensors I don't think, so I think leaving that unchanged here is fine

alistair23 and others added 2 commits November 19, 2024 09:15
@ppannuto ppannuto enabled auto-merge November 18, 2024 23:23
@ppannuto ppannuto added this pull request to the merge queue Nov 18, 2024
Merged via the queue into tock:master with commit 874efe2 Nov 18, 2024
2 checks passed
@alistair23 alistair23 deleted the alistair/moisture branch November 19, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants