为啥我用舵机云台脱机的代码运行跟他实际电脑上通电的代码运行不一样。
L
lbvh
@lbvh
0
声望
3
楼层
200
资料浏览
0
粉丝
0
关注
lbvh 发布的帖子
-
友友们我这助手为何发不出数据?
代码
import time
from pyb import UARTAlways 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, timeout_char=200)
while True:
uart.write("Hello World!\r")
time.sleep_ms(1000)