Make buzz sound with macro via GLCD

Hi everyone,

i was wondering how you can make a buzz sound in lightburn by using the GLCD Panel which has a buzzer.
Something like Enable 1.31, G4 300, Disable 1.31?

Also I’m confused. I have these two settings sitting in my config:
#panel.buzz_pin 0.27o # pin for buzzer ; GLCD EXP1 Pin 1
panel.buzz_pin 1.31

Obviously I dismissed 0.27o, which is used for external SD card and seems odd/wrong.

Hope someone could help!


Would something like this work from a Macro (M106 / M107 to turn it on/off):

#Buzzer switch test
switch.buzzer.enable false
switch.buzzer.output_pin 1.31
switch.buzzer.output_type pwm
switch.buzzer.input_on_command M106 abort
switch.buzzer.input_off_command M107 resume

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.