Function rustduino::math::generate_mpu[][src]

pub fn generate_mpu() -> (u8, u8, u8, u8, u8, u8)
Expand description

Function to generate tuple containing u8 numbers accordingly through MPU6050 Gyroscopic Sensor.

Returns

  • a tuple of 6 u8's - The x,y,z axes accelerations and gyroscopic detections by MPU6050 sensor respectively.