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.cfg #3

Open
Fuckingnameless opened this issue May 21, 2022 · 1 comment
Open

buzzer.cfg #3

Fuckingnameless opened this issue May 21, 2022 · 1 comment

Comments

@Fuckingnameless
Copy link

half of the songs don´t stop at the end

had to add this for the macro to work
[output_pin beeper]
pin: PC0
pwm: true

@dudeofawesome
Copy link
Owner

dudeofawesome commented Jun 9, 2022

Yeah, there are definitely some issues around the songs unfortunately. Klipper doesn't allow for changing settings on PWM pins frequently enough to allow for the songs to play at full speed either (I think there's a PR around this)

Is this the configuration you're thinking of?

[output_pin beeper]
pin: EXP1_1
pwm: True
shutdown_value: 0
# PWM frequency [0.001 = 1ms] will give a tone of 1kHz, although not pitch perfect.
cycle_time: 0.001

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