We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be721e6 commit 1b08005Copy full SHA for 1b08005
lib/accelerometer-service.ts
@@ -100,7 +100,9 @@ export class AccelerometerService implements Service {
100
const dataView = new DataView(new ArrayBuffer(2));
101
dataView.setUint16(0, value, true);
102
return this.queueGattOperation(() =>
103
- this.accelerometerDataCharacteristic.writeValueWithoutResponse(dataView),
+ this.accelerometerPeriodCharacteristic.writeValueWithoutResponse(
104
+ dataView,
105
+ ),
106
);
107
}
108
0 commit comments