MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
Loading...
Searching...
No Matches
MiniR4VernierLib Class Reference

A library for interfacing with Vernier sensors. More...

#include <MiniR4VernierLib.h>

Public Member Functions

 MiniR4VernierLib ()
 
void autoID ()
 
int channel ()
 
float voltageID ()
 
int sensorNumber ()
 
char * sensorName ()
 
char * shortName ()
 
char * sensorUnits ()
 
float slope ()
 
float intercept ()
 
float cFactor ()
 
int calEquationType ()
 
int page ()
 
float readSensor ()
 
float sensorReading ()
 
void DCUPWM (int PWMSetting)
 
void DCU (int DCUSetting)
 
void DCUStep (int stepCount, int stepDirection, int stepDelay)
 
float readMotionDetector ()
 
float distance ()
 

Protected Attributes

float _voltageID
 
int _channel
 
int _sensorNumber
 
char _sensorName [16]
 
char _shortName [12]
 
char _sensorUnits [7]
 
float _slope
 
float _sum
 
float _intercept
 
float _cFactor
 
int _calEquationType
 
int _page
 
float _sensorReading
 
float _distance
 
int _i
 

Detailed Description

A library for interfacing with Vernier sensors.

This class provides methods to read sensor data, control DCUs, and manage calibration information for Vernier sensors.

Definition at line 17 of file MiniR4VernierLib.h.

Constructor & Destructor Documentation

◆ MiniR4VernierLib()

MiniR4VernierLib::MiniR4VernierLib ( )

Definition at line 25 of file MiniR4VernierLib.cpp.

Member Function Documentation

◆ autoID()

void MiniR4VernierLib::autoID ( )

nothing*

flags a I2C sensor

!! Serial.print("calEquationType ");//!!! !! Serial.println(calEquationType );

Definition at line 39 of file MiniR4VernierLib.cpp.

◆ calEquationType()

int MiniR4VernierLib::calEquationType ( )
inline

Definition at line 33 of file MiniR4VernierLib.h.

◆ cFactor()

float MiniR4VernierLib::cFactor ( )
inline

Definition at line 32 of file MiniR4VernierLib.h.

◆ channel()

int MiniR4VernierLib::channel ( )
inline

Definition at line 24 of file MiniR4VernierLib.h.

◆ DCU()

void MiniR4VernierLib::DCU ( int DCUSetting)

Definition at line 552 of file MiniR4VernierLib.cpp.

◆ DCUPWM()

void MiniR4VernierLib::DCUPWM ( int PWMSetting)

Definition at line 500 of file MiniR4VernierLib.cpp.

◆ DCUStep()

void MiniR4VernierLib::DCUStep ( int stepCount,
int stepDirection,
int stepDelay )

Definition at line 513 of file MiniR4VernierLib.cpp.

◆ distance()

float MiniR4VernierLib::distance ( )
inline

Definition at line 46 of file MiniR4VernierLib.h.

◆ intercept()

float MiniR4VernierLib::intercept ( )
inline

Definition at line 31 of file MiniR4VernierLib.h.

◆ page()

int MiniR4VernierLib::page ( )
inline

Definition at line 34 of file MiniR4VernierLib.h.

◆ readMotionDetector()

float MiniR4VernierLib::readMotionDetector ( )

Definition at line 655 of file MiniR4VernierLib.cpp.

◆ readSensor()

float MiniR4VernierLib::readSensor ( )

!() //{ return _logR; };

Definition at line 397 of file MiniR4VernierLib.cpp.

◆ sensorName()

char * MiniR4VernierLib::sensorName ( )
inline

Definition at line 27 of file MiniR4VernierLib.h.

◆ sensorNumber()

int MiniR4VernierLib::sensorNumber ( )
inline

Definition at line 26 of file MiniR4VernierLib.h.

◆ sensorReading()

float MiniR4VernierLib::sensorReading ( )
inline

Definition at line 37 of file MiniR4VernierLib.h.

◆ sensorUnits()

char * MiniR4VernierLib::sensorUnits ( )
inline

Definition at line 29 of file MiniR4VernierLib.h.

◆ shortName()

char * MiniR4VernierLib::shortName ( )
inline

Definition at line 28 of file MiniR4VernierLib.h.

◆ slope()

float MiniR4VernierLib::slope ( )
inline

Definition at line 30 of file MiniR4VernierLib.h.

◆ voltageID()

float MiniR4VernierLib::voltageID ( )
inline

Definition at line 25 of file MiniR4VernierLib.h.

Member Data Documentation

◆ _calEquationType

int MiniR4VernierLib::_calEquationType
protected

Definition at line 59 of file MiniR4VernierLib.h.

◆ _cFactor

float MiniR4VernierLib::_cFactor
protected

Definition at line 58 of file MiniR4VernierLib.h.

◆ _channel

int MiniR4VernierLib::_channel
protected

Definition at line 50 of file MiniR4VernierLib.h.

◆ _distance

float MiniR4VernierLib::_distance
protected

Definition at line 62 of file MiniR4VernierLib.h.

◆ _i

int MiniR4VernierLib::_i
protected

Definition at line 64 of file MiniR4VernierLib.h.

◆ _intercept

float MiniR4VernierLib::_intercept
protected

Definition at line 57 of file MiniR4VernierLib.h.

◆ _page

int MiniR4VernierLib::_page
protected

Definition at line 60 of file MiniR4VernierLib.h.

◆ _sensorName

char MiniR4VernierLib::_sensorName[16]
protected

Definition at line 52 of file MiniR4VernierLib.h.

◆ _sensorNumber

int MiniR4VernierLib::_sensorNumber
protected

Definition at line 51 of file MiniR4VernierLib.h.

◆ _sensorReading

float MiniR4VernierLib::_sensorReading
protected

Definition at line 61 of file MiniR4VernierLib.h.

◆ _sensorUnits

char MiniR4VernierLib::_sensorUnits[7]
protected

Definition at line 54 of file MiniR4VernierLib.h.

◆ _shortName

char MiniR4VernierLib::_shortName[12]
protected

Definition at line 53 of file MiniR4VernierLib.h.

◆ _slope

float MiniR4VernierLib::_slope
protected

Definition at line 55 of file MiniR4VernierLib.h.

◆ _sum

float MiniR4VernierLib::_sum
protected

Definition at line 56 of file MiniR4VernierLib.h.

◆ _voltageID

float MiniR4VernierLib::_voltageID
protected

Definition at line 49 of file MiniR4VernierLib.h.


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