Firmware/Marlin/example_configurations
AnHardt fd0e81b0c7 Distinguish between BUZZER and SPEAKER (PR#2513)
A speaker needs a AC or a pulsed DC to make a sound, a buzzer only needs a DC.
A buzzer has it's own resonator. It works in most cases to feed the buzzer with a pulsed DC, but the sound will not be as loud as with pure DC.

There seem to be boards where the BEEPER-pin is not able to handle a PWM. Obviously intended for a buzzer.
To make these board able to handle a speaker

* replace the PWM based tone()-function again with a on-delay-off-delay loop.

Hopefully the last time I touch the beeper code.
2015-07-24 22:10:04 -05:00
..
adafruit/ST7565 Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
delta Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
Felix Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
Hephestos Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
K8200 Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
makibox Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
RepRapWorld/Megatronics Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
RigidBot Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
SCARA Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
tvrrug/Round2 Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00
WITBOX Distinguish between BUZZER and SPEAKER (PR#2513) 2015-07-24 22:10:04 -05:00