- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 109kb
- Update:
- 2015-08-08
- Downloads:
- 0 Times
- Uploaded by:
- 叶影
Description: Renesas microcontroller and MPU6050 communications test, simulation IIC non-hardware IIC on gyro 6050 to note the following issues 1, IIC data and clock requires a pullup resistor, resistor size and baud rate, and if the communication is not appropriate to reduce baud rate. 2, 6050 supply voltage of 3.3V, make sure that the voltage and MCU 6050 are the same voltage. 3, MCU and 6050 is best to use two power regulator chip, or MCU may interfere with 6050.4, you need to use interrupt port 115, the main program, there are shows that when into if (OK == get_mpu6050_mode ()) {// You can now read the gyroscope data and acceleration data, collected raw data} read faccx, faccy, faccz, fgyrox, fgyroy, fgyroz wherein faccx, faccy, faccz acceleration fgyrox, fgyroy, fgyroz a gyroscope
To Search:
File list (Check if you may need any files):
test6050\DefaultBuild\IIC.rel
........\............\mpu6050.rel
........\............\r_cg_cgc.rel
........\............\r_cg_cgc_user.rel
........\............\r_cg_intc.rel
........\............\r_cg_intc_user.rel
........\............\r_cg_serial.rel
........\............\r_cg_serial_user.rel
........\............\r_main.rel
........\............\r_systeminit.rel
........\............\test6050.hex
........\............\test6050.lmf
........\............\test6050.map
........\............\test6050.sym
........\DefaultBuild
........\IIC.c
........\mpu6050.c
........\r_cg_cgc.c
........\r_cg_cgc.h
........\r_cg_cgc_user.c
........\r_cg_intc.c
........\r_cg_intc.h
........\r_cg_intc_user.c
........\r_cg_macrodriver.h
........\r_cg_serial.c
........\r_cg_serial.h
........\r_cg_serial_user.c
........\r_cg_userdefine.h
........\r_main.c
........\r_systeminit.c
........\test6050.mtpj
........\test6050.yihuachen.mtud
test6050