47 Analog(
const unsigned char& port);
49 virtual unsigned short value()
const;
51 virtual void setPullup(
bool pullup);
52 virtual bool pullup()
const;
58 unsigned char port()
const;
75 Analog8(
const unsigned char& port);
76 virtual unsigned short value()
const;
The base class for all sensors of any type.
Definition: sensor.hpp:45
virtual unsigned short value() const
virtual T value() const =0
A derivative of the Analog class that returns 8 bit values rather than 10 bit ones.
Definition: analog.hpp:72
Implements the sensor type "analog".
Definition: analog.hpp:44
#define EXPORT_SYM
Definition: export.h:7