get_accelerometer()
#
DescriptionThis function gets the accelerometer sensor data, which returns x, y, and z.
It outputs to the UI in Blockly and as a class in Python as a struct in Arduino.
#
SyntaxPython: get_accelerometer()
Arduino: getAccelerometer()
#
ParametersNone
#
ReturnsOutputs to visual UI. In code, it returns a class in Python and struct in Arduino.