Struct rust_gpiozero::output_devices::Buzzer
[−]
[src]
pub struct Buzzer { /* fields omitted */ }
Extends DigitalOutputDevice and represents a digital buzzer component.
Connect the cathode (negative pin) of the buzzer to a ground pin; connect the other side to any GPIO pin.
Methods
impl Buzzer
[src]
Trait Implementations
impl Debug for Buzzer
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more