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

Buzzer cli command #4006

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

ivanbarsukov
Copy link
Contributor

What's new

  • Added buzzer cli command
  • Added function for parsing note frequency
  • Added function for parsing time and converting it to ms
  • Added function for parsing float argument (HELP needed. "%f" is not working for sscanf. Temporarily it reads int)

Verification

  • Open Flipper cli
  • Run buzzer freq 659 or buzzer note e5 for playing e5 for 100 ms (default value)
  • Run buzzer freq 659 5s or buzzer note e5 5s for playing e5 for 5 s
  • Run buzzer freq 659 0 or buzzer note e5 0 for playing e5 in background and then buzzer off to turn it off

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

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