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 ( unsigned char  port)

Member Function Documentation

bool Digital::isOutput ( ) const
bool Digital::pullup ( ) const
void Digital::setOutput ( bool  output)
void Digital::setPullup ( bool  pullup)
void Digital::setValue ( bool  value)
virtual bool Digital::value ( ) const
virtual

Implements Sensor< bool >.


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