找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M451] Use I2C to Drive MPU6050

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-9-30 10:16:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

  • Application: This sample code is M451 drives and controls six-axis sensor MPU6050 through I2C interface.
  • BSP Version: M451 Series BSP CMSIS v3.01.003
  • Hardware: SmartM-M451 Mini
The sample code uses M451 GPIO to simulate I2C to initialize 6-axis sensor, and reads 6-axis sensor data through I2C.The M451 sends data to PC through UART, so that the position change of 6-axis sensor can be seen intuitively in PC software. The 6-axis sensor used in this code is InvenSense MPU 6050, which communicates with I2C protocol. Initialization and control interface functions can be found in the MPU6050.c function prototype, sensor settings and data acquisition refer to the specifications of MPU6050.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0107165333
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU