-
- Downloads
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.
Showing
- Marlin/Configuration.h 1 addition, 0 deletionsMarlin/Configuration.h
- Marlin/buzzer.cpp 15 additions, 2 deletionsMarlin/buzzer.cpp
- Marlin/configurator/config/Configuration.h 1 addition, 0 deletionsMarlin/configurator/config/Configuration.h
- Marlin/example_configurations/Felix/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/Felix/Configuration.h
- Marlin/example_configurations/Felix/Configuration_DUAL.h 1 addition, 0 deletionsMarlin/example_configurations/Felix/Configuration_DUAL.h
- Marlin/example_configurations/Hephestos/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/Hephestos/Configuration.h
- Marlin/example_configurations/K8200/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/K8200/Configuration.h
- Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h 1 addition, 0 deletions...le_configurations/RepRapWorld/Megatronics/Configuration.h
- Marlin/example_configurations/RigidBot/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/RigidBot/Configuration.h
- Marlin/example_configurations/SCARA/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/SCARA/Configuration.h
- Marlin/example_configurations/WITBOX/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/WITBOX/Configuration.h
- Marlin/example_configurations/adafruit/ST7565/Configuration.h 1 addition, 0 deletions...in/example_configurations/adafruit/ST7565/Configuration.h
- Marlin/example_configurations/delta/biv2.5/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/delta/biv2.5/Configuration.h
- Marlin/example_configurations/delta/generic/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/delta/generic/Configuration.h
- Marlin/example_configurations/delta/kossel_mini/Configuration.h 1 addition, 0 deletions.../example_configurations/delta/kossel_mini/Configuration.h
- Marlin/example_configurations/delta/kossel_pro/Configuration.h 1 addition, 0 deletions...n/example_configurations/delta/kossel_pro/Configuration.h
- Marlin/example_configurations/makibox/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/makibox/Configuration.h
- Marlin/example_configurations/tvrrug/Round2/Configuration.h 1 addition, 0 deletionsMarlin/example_configurations/tvrrug/Round2/Configuration.h
Loading
Please register or sign in to comment