Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public class ConfigByteLayoutShimmer3{
static let idxMPU9150GyroCalibration = 52
static let idxLSM303DLHCMagCalibration = 73
//static let idxLSM303DLHCAccelCalibration = 94 //94->114
static let idxConfigSetupByte4 = 128+2;

static let idxSDExperimentConfig0 = 128+89;
static let idxSDExperimentConfig1 = 128+90;

Expand All @@ -51,6 +53,9 @@ public class ConfigByteLayoutShimmer3{
static let bitShiftMPU9150GyroRange = 0;
static let maskMPU9150GyroRange = 0x03;

static let bitShiftLSM6DSVyroRangeMSB = 2;
static let maskLSM6DSVyroRangeMSB = 0x01;

static let bitShiftMPU9150AccelGyroSamplingRate = 0;
static let maskMPU9150AccelGyroSamplingRate = 0xFF;

Expand All @@ -73,6 +78,7 @@ public class ConfigByteLayoutShimmer3{
static let maskLSM303DLHCAccelSamplingRate = 0x0F;

static let idxLSM6DSVAccelCalibration = 34;
static let idxGyroCalibration = 55;
static let idxLSM303DLHCAccelCalibration = 97;

static let lengthGeneralCalibrationBytes = 21;
Expand Down
Loading