导航

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

    53dy

    @53dy

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

    53dy 关注

    53dy 发布的帖子

    • 使用usb转ttl调试,openmv发helloworld,串口助手为什么无反应?
      # UART Control
      #
      # This example shows how to use the serial port on your OpenMV Cam. Attach pin
      # P4 to the serial input of a serial LCD screen to see "Hello World!" printed
      # on the serial LCD display.
      
      import time
      from pyb import UART
      
      # Always pass UART 3 for the UART number for your OpenMV Cam.
      # The second argument is the UART baud rate. For a more advanced UART control
      # example see the BLE-Shield driver.
      uart = UART(3, 19200)
      
      while(True):
          uart.write("Hello World!\r")
          time.sleep_ms(1000)
      
      

      0_1618325384015_CYJ{W3GM_C$ZBO%UCXAT58S.png
      0_1618325405217_2E4ECE978BDDF9F79A9ABA7FCFAEE1C9.jpg
      tx接openmv rx
      电脑上正确显示两个串口
      openmv没有问题,其他代码正常运行

      发布在 OpenMV Cam
      5
      53dy