public static interface BrickletAccelerometer.AccelerationReachedListener extends DeviceListener
BrickletAccelerometer.setAccelerationCallbackThreshold(char, short, short, short, short, short, short)
is reached.
The parameters are the X, Y and Z acceleration. The range is
configured with BrickletAccelerometer.setConfiguration(short, short, short)
.
If the threshold keeps being reached, the listener is triggered periodically
with the period as set by BrickletAccelerometer.setDebouncePeriod(long)
.Modifier and Type | Method and Description |
---|---|
void |
accelerationReached(short x,
short y,
short z) |
Copyright © 2021 Tinkerforge GmbH. All rights reserved.