Navigation

    • Login
    • Search
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. Home
    2. oyeh
    O
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    oyeh

    @oyeh

    0
    Reputation
    8
    Posts
    57
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    oyeh Follow

    Posts made by oyeh

    • 怎么将扫描的二维码信息进行分块处理

      怎么将扫描的二维码信息进行分快处理,比如二维码信息为‘123+321’ 怎么把123
      和321分别存储到两个变量中去。

      posted in OpenMV Cam
      O
      oyeh
    • RE: 脱机运行时,怎么用代码关闭Openmv

      @kidswong999 在 脱机运行时,怎么用代码关闭Openmv 中说:

      sleep。

      是 time.sleep_ms(150) 这个吗?

      posted in OpenMV Cam
      O
      oyeh
    • 脱机运行时,怎么用代码关闭Openmv

      脱机运行时,怎么用代码关闭Openmv

      posted in OpenMV Cam
      O
      oyeh
    • RE: 怎么对提取到的中文二维码信息判断,它现在显示我的判断语句语法是错误的

      这样 '红色蓝色' 也是错误

      posted in OpenMV Cam
      O
      oyeh
    • 怎么对提取到的中文二维码信息判断,它现在显示我的判断语句语法是错误的
                  while(True):
                      clock.tick()
                      img = sensor.snapshot()
                      img.lens_corr(1.8) 。
                      for code in img.find_qrcodes():
                          img.draw_rectangle(code.rect(), color = (255, 0, 0))
                          erweima=code.payload()
                          if erweimaa == 红色蓝色
                          print(erweima)
      
      posted in OpenMV Cam
      O
      oyeh
    • RE: 帮我看看这个问题,她说b没有定义

      谢谢谢谢谢谢谢谢谢谢

      posted in OpenMV Cam
      O
      oyeh
    • 帮我看看这个问题,她说b没有定义
      import time, pyb
      from pyb import UART
      
      uart = UART(3, 19200)  #参数1:使用串口3   参数2:波特率是19200
      
      led1 = pyb.LED(1)
      led2 = pyb.LED(2)
      led3 = pyb.LED(3)
      
      while(True):
          uart.write("Hello World!\r")  #参数就是需要发送的数据
          time.sleep_ms(1000)
      
          #串口接收函数函数
          if uart.any() :
              a = uart.readline().decode()
              b=int(a)  #将字符串转换为数字
      
          if b == 1 :
              led1.on()
              led2.on()
              time.sleep_ms(150)
              led1.off()
              led2.off()
              time.sleep_ms(150)
      

      她说b变量没定义,怎么回事

      posted in OpenMV Cam
      O
      oyeh
    • 供电可以承受3安的电流吗?

      供电可以承受3安的电流吗?

      posted in OpenMV Cam
      O
      oyeh