#include "mpu6050.h" #include "twi_master.h" #include "nrf_delay.h" #include "twi_master.h" #include "rec.h" int mpu6050_register_write_len(uint8_t addr,uint8_t register_address, uint8_t len,uint8_t *buf) { uint8_t w2_data[50],i; // printf("\r\n"); // printf("write addr=0x%2X,",addr); // printf("register_address=0x%2X,",register_address); w2_data[0] = register_address; for(i=0;i