31 #define ACCLNx_Command 0x41
32 #define READ_SENS 0x19
34 #define ACCLNx_X_TILT 0x42
35 #define ACCLNx_Y_TILT 0x43
36 #define ACCLNx_Z_TILT 0x44
37 #define ACCLNx_X_ACCL 0X45
38 #define ACCLNx_Y_ACCL 0X47
39 #define ACCLNx_Z_ACCL 0X49
41 #include "NXShieldI2C.h"
50 ACCLNx(uint8_t i2c_address = 0x02);
This class implements I2C interfaces used by NXShield.
Definition: NXShieldI2C.h:32
bool aquireXpointCalibrationEnd()
Definition: ACCLNx.cpp:46
bool aquireZpointCalibration()
Definition: ACCLNx.cpp:61
int getZAccl()
Definition: ACCLNx.cpp:101
short getYTilt()
Definition: ACCLNx.cpp:81
bool aquireYpointCalibrationEnd()
Definition: ACCLNx.cpp:56
ACCLNx(uint8_t i2c_address=0x02)
Definition: ACCLNx.cpp:30
short getZTilt()
Definition: ACCLNx.cpp:86
bool aquireXpointCalibration()
Definition: ACCLNx.cpp:41
bool aquireYpointCalibration()
Definition: ACCLNx.cpp:51
uint8_t issueCommand(char command)
Definition: ACCLNx.cpp:36
short getSens()
Definition: ACCLNx.cpp:108
bool aquireZpointCalibrationEnd()
Definition: ACCLNx.cpp:66
bool resetFactory()
Definition: ACCLNx.cpp:71
short getXTilt()
Definition: ACCLNx.cpp:76
int getYAccl()
Definition: ACCLNx.cpp:96
This class interfaces with ACCL-Nx attached to NXShield.
Definition: ACCLNx.h:46
int getXAccl()
Definition: ACCLNx.cpp:91