210 Commits (8684570f68f3560cc4effe6fc11e52ae298d56a8)

Author SHA1 Message Date
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.
10 years ago
AnHardt 8b876241bd Some more servo code tweaks
Just set up the pin. Don't move to a random position.

Simplify servo::move()
* servo::move() does not need the pin parameter - The pin is set during servo_init() with attach().
* servo::move() does not need a return value.

SERVO_LEVELING is the wrong condition to deactivate the servos.

Remove some temporary (Servo *) variables.
SanityCheck for the servo indexes.
10 years ago
Scott Lahteine d85861d296 Move macros, add ENABLED/DISABLED, add includes 10 years ago
Scott Lahteine de25a48dec Remove PID examples from preconfigured configs 10 years ago
Scott Lahteine 7456710a1f Update configs formatting 10 years ago
Scott Lahteine 391386dd94 Update configs for new servo deactivation 10 years ago
Scott Lahteine a0351bdb73 Remove STEPPER_RESET_FIX option 10 years ago
Scott Lahteine 8e61314323 Use RIGIDBOT_PANEL for consistency with online docs 10 years ago
Scott Lahteine 536f86e896 RigidBot CONTROLLERFAN_PIN in Configuration_adv.h 10 years ago
Scott Lahteine 9ebcae496d RIGIDBOARD / RIGIDPANEL 10 years ago