34 #define DISTNx_Command 0x41 35 #define DISTNx_Distance 0x42 36 #define DISTNx_Voltage 0x44 37 #define DISTNx_SensorType 0x50 39 #include "EVShieldI2C.h" bool deEnergize()
Definition: EVs_DISTNx.cpp:48
short getType()
Definition: EVs_DISTNx.cpp:63
This class interfaces with DIST-Nx attached to EVShield.
Definition: EVs_DISTNx.h:44
uint8_t issueCommand(char command)
Definition: EVs_DISTNx.cpp:38
EVs_DISTNx(uint8_t i2c_address=0x02)
Definition: EVs_DISTNx.cpp:34
bool energize()
Definition: EVs_DISTNx.cpp:43
This class implements I2C interfaces used by EVShield.
Definition: EVShieldI2C.h:32
int getDist()
Definition: EVs_DISTNx.cpp:53
int getVolt()
Definition: EVs_DISTNx.cpp:58