Output device component interfaces for devices such as
Represents a digital buzzer component.
Represents a generic output device with typical on/off behaviour. Extends behaviour with a blink() method which uses a background thread to handle toggling the device state without further interaction.
Represents a light emitting diode (LED)
Represents a generic motor connected to a bi-directional motor driver circuit (i.e. an H-bridge). Attach an H-bridge motor controller to your Pi; connect a power source (e.g. a battery pack or the 5V pin) to the controller; connect the outputs of the controller board to the two terminals of the motor; connect the inputs of the controller board to two GPIO pins.
Represents a generic GPIO output device.
Represents a light emitting diode (LED) with variable brightness. A typical configuration of such a device is to connect a GPIO pin to the anode (long leg) of the LED, and the cathode (short leg) to ground, with an optional resistor to prevent the LED from burning out.
Generic output device configured for software pulse-width modulation (PWM). The pulse width of the signal will be 100μs with a value range of [0,100] (where 0 is a constant low and 100 is a constant high) resulting in a frequenzy of 100 Hz.
Represents a PWM-controlled servo motor connected to a GPIO pin.