Stable and fast implementation for UART and mpu-6050 gyro.