libwallaby  v24
The wallaby standard library
Digital Class Reference

#include <digital.hpp>

Inheritance diagram for Digital:
Sensor< bool >

Public Member Functions

 Digital (unsigned char port)
void setValue (bool value)
void setOutput (bool output)
bool isOutput () const
void setPullup (bool pullup)
bool pullup () const
virtual bool value () const
- Public Member Functions inherited from Sensor< bool >
virtual ~Sensor ()

Constructor & Destructor Documentation

◆ Digital()

Digital::Digital ( unsigned char  port)

Member Function Documentation

◆ isOutput()

bool Digital::isOutput ( ) const

◆ pullup()

bool Digital::pullup ( ) const

◆ setOutput()

void Digital::setOutput ( bool  output)

◆ setPullup()

void Digital::setPullup ( bool  pullup)

◆ setValue()

void Digital::setValue ( bool  value)

◆ value()

virtual bool Digital::value ( ) const

Implements Sensor< bool >.

The documentation for this class was generated from the following file: