Hi,
I'm trying to get only one value from the example code.
instead of -
print("%s -> %s" % (self.device.address, parse_value(data)))
I'm trying -
print(data.x)
but i'm getting an error.
What should be the syntax to get only the value for x axis (or y or z)?
Thanks,
Omri
Comments
Never mind.
I figured it out...
Great.
Just in case, here is in example in Python of getting components of a signal: https://github.com/mbientlab/MetaWear-SDK-Python/blob/master/examples/stream_acc_x.py