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

port tone function to other boards #113

Closed
eadmaster opened this issue Aug 3, 2024 · 2 comments
Closed

port tone function to other boards #113

eadmaster opened this issue Aug 3, 2024 · 2 comments

Comments

@eadmaster
Copy link
Contributor

current implementation of the _tone() function won't work with boards that does not have a single pin buzzer, like the cardputer.

Temp workaround: move this constant in the platformio.ini and add a test macro in the code:

#define BUZZ_PIN 2

Better solution:
add a squarewave generator for boards that have a speaker and play the waveform with ESP8266Audio

@bmorcelli
Copy link
Collaborator

True...

I'll move it to platformio.ini and add a flag on "features" to fix it. Thank you!

eadmaster added a commit to eadmaster/Bruce that referenced this issue Aug 4, 2024
pr3y added a commit that referenced this issue Aug 5, 2024
added headless mode, numbered keyboard shortcuts, added boot sound (#107) (#113)
eadmaster added a commit to eadmaster/Bruce that referenced this issue Aug 6, 2024
eadmaster added a commit to eadmaster/Bruce that referenced this issue Aug 6, 2024
@eadmaster
Copy link
Contributor Author

closed via #130

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

No branches or pull requests

2 participants