导航

    • 登录
    • 搜索
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. 主页
    2. wogl
    W
    • 举报资料
    • 资料
    • 关注
    • 粉丝
    • 屏蔽
    • 帖子
    • 楼层
    • 最佳
    • 群组

    wogl

    @wogl

    0
    声望
    2
    楼层
    343
    资料浏览
    0
    粉丝
    0
    关注
    注册时间 最后登录

    wogl 关注

    wogl 发布的帖子

    • uart 跟i2c不能同时使用吗?出现无法打开“G:/bno055py”问题

      from machine import I2C
      from bno055 import BNO055, AXIS_P7
      import time
      i2c = I2C(2)
      imu = BNO055(i2c)
      from machine import UART
      uart = UART(3, 115200)
      while True:
      #temperature = imu.temperature()
      #print('temperature: ℃',temperature)
      yaw, roll, pitch = imu.euler()
      print('yaw, roll, pitch: °', yaw, roll, pitch)
      #w, x, y, z = imu.quaternion()
      #print('Quaternion:', w, x, y, z)
      #x, y, z = imu.accelerometer()
      #print('Accelerometer (m/s^2):', x, y, z)
      #x, y, z = imu.magnetometer()
      #print('Magnetometer (microteslas):', x, y, z)
      #x, y, z = imu.gyroscope()
      #print('Gyroscope (deg/sec):', x, y, z)
      #x, y, z = imu.linear_acceleration()
      #print('Linear acceleration (m/s^2)', x, y, z)
      #x, y, z = imu.gravity()
      #print('Gravity (m/s^2):', x, y, z)
      time.sleep(100)

      发布在 OpenMV Cam
      W
      wogl
    • 请问openmv M7板子可以同时将imu以及tof这种i2c接口的扩展板都插上吗

      请问openmv M7板子可以同时将imu以及tof这种i2c接口的扩展板都插上吗

      发布在 OpenMV Cam
      W
      wogl