25 #ifndef NXT_VOLT_METER_H
26 #define NXT_VOLT_METER_H
28 #define VM_Command 0x41
30 #define ABSOLUTE_V 0X43
31 #define RELATIVE_V 0x45
33 #define REFERENCE_V 0X47
35 #include "NXShieldI2C.h"
This class implements I2C interfaces used by NXShield.
Definition: NXShieldI2C.h:32
int setReferenceV()
Definition: NXTVoltMeter.cpp:53
int getReference()
Definition: NXTVoltMeter.cpp:48
int getAVoltage()
Definition: NXTVoltMeter.cpp:38
This class interfaces with sensor attached to NXShield.
Definition: NXTVoltMeter.h:38
uint8_t issueCommand(char command)
Definition: NXTVoltMeter.cpp:33
int getRVoltage()
Definition: NXTVoltMeter.cpp:43
VoltMeter(uint8_t i2c_address=0x26)
Definition: NXTVoltMeter.cpp:27