导航

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

    15716188289

    @15716188289

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

    15716188289 关注

    15716188289 发布的帖子

    • RE: 在使用UART功能时,提示OSError :[Errno 110] ETIMEOUT是为什么啊?怎么解决啊?

      @kidswong999

      发布在 OpenMV Cam
      1
      15716188289
    • 在使用UART功能时,提示OSError :[Errno 110] ETIMEOUT是为什么啊?怎么解决啊?
      # 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(4, 115200)
      
      while(True):
          l=([i for i in range(120)])
      
          for i in range(0,120,1):
              uart.write("!")
              out = '%d' % (l[i]/100)
              uart.write(out)
              out = '%d' % (l[i]/10%10)
              uart.write(out)
              out = '%d' % (l[i]%10)
              uart.write(out)
      
              #uart.write('d')
              #time.sleep(100)
          #uart.write("Hello World!\r")
          #uart.write('A')
      
          #time.sleep(1000)
      
      

      0_1557475215468_130135ae-9b53-499a-bf4f-f5b8f6d2d39c-image.png

      发布在 OpenMV Cam
      1
      15716188289
    • RE: openmv连接星瞳上位机,为什么显示串口打开失败?

      嗯,谢谢您的回答,刚刚重开重下了程序就好了,但也不知道是不是这个原因

      发布在 OpenMV Cam
      1
      15716188289
    • openmv连接星瞳上位机,为什么显示串口打开失败?

      0_1557466233040_e71cff35-484f-4550-afd4-d4d85404b076-image.png

      发布在 OpenMV Cam
      1
      15716188289