#include <wrapper.h>
Inheritance diagram for CAxs1:
After calling readFromRobot, the current state of the sensor module is accessible through the get-functions. The current values can be changed via the set-functions and can be written to the robot by calling writeToRobot.
CAxs1::CAxs1 | ( | ) |
void CAxs1::readFromRobot | ( | ) |
Reads sensor module from robot into data.
void CAxs1::writeToRobot | ( | byte | schedule = 0 |
) |
Writes sensor module information from data to robot.
void CAxs1::setDistCmpVal | ( | byte | value | ) |
byte CAxs1::getDistCmpVal | ( | ) |
void CAxs1::setLightCmpVal | ( | byte | value | ) |
byte CAxs1::getLightCmpVal | ( | ) |
void CAxs1::setSoundCmpVal | ( | byte | value | ) |
byte CAxs1::getSoundCmpVal | ( | ) |
void CAxs1::setLed | ( | byte | on | ) |
byte CAxs1::getLed | ( | ) |
byte CAxs1::getDistLeft | ( | ) |
byte CAxs1::getDistCenter | ( | ) |
byte CAxs1::getDistRight | ( | ) |
byte CAxs1::getLightLeft | ( | ) |
byte CAxs1::getLightCenter | ( | ) |
byte CAxs1::getLightRight | ( | ) |
byte CAxs1::isDistLeft | ( | ) |
byte CAxs1::isDistCenter | ( | ) |
byte CAxs1::isDistRight | ( | ) |
byte CAxs1::isLightLeft | ( | ) |
byte CAxs1::isLightCenter | ( | ) |
byte CAxs1::isLightRight | ( | ) |
byte CAxs1::getSoundVolume | ( | ) |
byte CAxs1::getMaxSoundVolume | ( | ) |
void CAxs1::setMaxSoundVolume | ( | byte | max | ) |
byte CAxs1::getSoundsCounter | ( | ) |
void CAxs1::setSoundsCounter | ( | byte | count | ) |
word CAxs1::getSoundTimestamp | ( | ) |
void CAxs1::setSoundTimestamp | ( | word | time | ) |
byte CAxs1::getBuzzerScale | ( | ) |
void CAxs1::setBuzzerScale | ( | byte | scale | ) |
byte CAxs1::getBuzzerDuration | ( | ) |
void CAxs1::setBuzzerDuration | ( | byte | time | ) |
byte CAxs1::data[19] [private] |
sensor module information