void enableDefault(void) Turns on the accelerometer and magnetometer and enables a consistent set of default settings. This function will set the accelerometer's full scale to be +/-2 g, which means that a reading of 16384 corresponds to approximately 1 g. The magnetometer's full scale is set to +/-4 gauss for the LSM303D or +/-1.3 gauss on all other devices. See the comments in LSM303.cpp for a full explanation of these settings.void writeReg(byte reg, byte value) Writes an accelerometer or magnetometer register with the given value. Register addresses are defined by the regAddr enumeration type in LSM303.h.void writeAccReg(byte reg, byte value) Writes an accelerometer register with the given value.
//accel.writeAccReg(byte 0x77, byte 0x28);