Skip to content

zephyrCommon: Add tone and noTone #100

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

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

Ayush1325
Copy link
Member

@Ayush1325 Ayush1325 commented Jun 6, 2024

@Ayush1325 Ayush1325 force-pushed the tone branch 2 times, most recently from bda0532 to 8f2a766 Compare June 6, 2024 15:53
@DhruvaG2000 DhruvaG2000 requested review from soburi and DhruvaG2000 June 7, 2024 10:20
@Ayush1325 Ayush1325 force-pushed the tone branch 4 times, most recently from 750d40a to 8d0173d Compare June 10, 2024 16:40
@Ayush1325
Copy link
Member Author

Found a piezo buzzer and tested with bcf. Also fixed the case for frequency = 0.

@Ayush1325
Copy link
Member Author

@DhruvaG2000 What should I do regarding copyright and license?

@Ayush1325 Ayush1325 force-pushed the tone branch 2 times, most recently from 5d66eb1 to 5b4d8c9 Compare June 26, 2024 11:41
@Ayush1325
Copy link
Member Author

@DhruvaG2000 I think it might be best to remove the example from this PR. The upstream example can be used without any modification, so it is not particularly important to have it here, especially blocking this PR.

- Add implementation of tone and noTone
- Use another one-shot timer to stop the first timer.
- Silence when frequency = 0

Signed-off-by: Ayush Singh <[email protected]>
Copy link
Collaborator

@DhruvaG2000 DhruvaG2000 left a comment

Choose a reason for hiding this comment

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

I Am ok with this.

@DhruvaG2000 DhruvaG2000 merged commit 1b4f688 into zephyrproject-rtos:next Jul 1, 2024
2 checks passed
@Ayush1325 Ayush1325 deleted the tone branch July 1, 2024 05:36
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.

3 participants