libkovan  1
The kovan standard library
BackEMF Class Reference

Allows the reading of the back emf values for each motor. More...

#include <motors.hpp>

Inheritance diagram for BackEMF:
Sensor< int >

Public Member Functions

 BackEMF (const unsigned char &port)
 
virtual int value () const
 
unsigned char port () const
 
- Public Member Functions inherited from Sensor< int >
virtual ~Sensor ()
 

Detailed Description

Allows the reading of the back emf values for each motor.

Constructor & Destructor Documentation

BackEMF::BackEMF ( const unsigned char &  port)

Member Function Documentation

unsigned char BackEMF::port ( ) const
virtual int BackEMF::value ( ) const
virtual

Get the current value for this sensor

Returns
The sensor's current value

Implements Sensor< int >.


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