avr-classes
Public Member Functions | List of all members
OutputPin Class Referenceabstract

#include <outputpin.h>

Inheritance diagram for OutputPin:
GpioPin OutputPortPin GpioPortPin

Public Member Functions

virtual void setValue (bool value)=0
 

Detailed Description

Interface for output pins that can be set to a boolean value.

Member Function Documentation

◆ setValue()

virtual void OutputPin::setValue ( bool  value)
pure virtual

Sets the pin to the specified value.

Parameters
valueValue to set, true means HIGH level, false means LOW level.

Implemented in GpioPortPin, and OutputPortPin.