A base class for setting a digital pin to on, off, or blink, or on, off, or blink for a fixed duration.