19#include <piduino/converter.h>
20#include <piduino/gpiopin.h>
The Converter class provides an interface for analog-to-digital and digital-to-analog converters.
virtual long range() const
Gets the digital range of the converter.
Provides PWM (Pulse Width Modulation) control for a GPIO pin.
const Pin & pin() const
Returns a constant reference to the associated Pin object.
GpioPwm(Pin *pin, long range=1024, long freq=100)
Constructs a GpioPwm object for the specified pin, with optional range and frequency.
virtual ~GpioPwm()
Destructor for the GpioPwm class.
static std::string registeredName()
Returns the name registered for this converter.
GpioPwm(const std::string ¶meters)
Constructs a GpioPwm object from a string of parameters.
Represents a general-purpose input/output (GPIO) pin and its configuration.
Internal implementation class for GpioDevice.
#define PIMP_DECLARE_PRIVATE(Class)
PIMP_DECLARE_PRIVATE.
Global namespace for Piduino.