libwallaby  v24
The wallaby standard library
Analog Class Reference

#include <analog.hpp>

Inheritance diagram for Analog:
Sensor< unsigned short > Analog10 Analog8

Public Member Functions

 Analog (unsigned char port)
virtual ~Analog ()
virtual unsigned short value () const
virtual void setPullup (bool pullup)
bool pullup () const
unsigned char port () const
- Public Member Functions inherited from Sensor< unsigned short >
virtual ~Sensor ()

Constructor & Destructor Documentation

◆ Analog()

Analog::Analog ( unsigned char  port)

◆ ~Analog()

virtual Analog::~Analog ( )

Member Function Documentation

◆ port()

unsigned char Analog::port ( ) const

◆ pullup()

bool Analog::pullup ( ) const

◆ setPullup()

virtual void Analog::setPullup ( bool  pullup)

◆ value()

virtual unsigned short Analog::value ( ) const

Implements Sensor< unsigned short >.

Reimplemented in Analog10, and Analog8.

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