RPRO vs R Accelerometer
I have hooked up a MetaWear RPRO board to my android app which was working with a MetaWear R. However the callback is not returning any data.
The code looks like this:
mwCtrllr.addModuleCallback(new Accelerometer.Callbacks() {
public void receivedDataValue(short x, short y, short z) {
Log.i("ACCELDATA", String.format(Locale.US, "(%d, %d, %d)",
x, y, z));
}
});
accelCtrllr.enableXYZSampling().withFullScaleRange(Accelerometer.SamplingConfig.FullScaleRange.FSR_8G)
.withOutputDataRate(Accelerometer.SamplingConfig.OutputDataRate.ODR_100_HZ);
accelCtrllr.startComponents();
Please advise.
This discussion has been closed.
Comments