public class Bmi160SingleAxisMessage extends SignedMessage
Constructor and Description |
---|
Bmi160SingleAxisMessage(byte[] data,
float scale) |
Bmi160SingleAxisMessage(java.util.Calendar timestamp,
byte[] data,
float scale) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getData(java.lang.Class<T> type)
Interprets the data as the given type.
|
float |
getScale()
Retrieves the LSB to g ratio
|
java.lang.String |
toString() |
getData, getTimestamp, getTimestampAsString
public Bmi160SingleAxisMessage(byte[] data, float scale)
public Bmi160SingleAxisMessage(java.util.Calendar timestamp, byte[] data, float scale)
public float getScale()
public <T> T getData(java.lang.Class<T> type)
Message
getData
in class SignedMessage
type
- Type to interpret the data as