# 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, 9600)
while(True):
uart.write("Hello World!\r")
time.sleep_ms(1000)
固件版本:4.4.2
IDE版本: 3.0.3
检查一下接线对不对, 引脚焊接的好不好.
另外提供一下正常收到的截图. 和IDE的截图.

@kidswong999 接线对的,可以收到数据。引脚焊接也没问题。
@kidswong999 我发现电脑串口发送数据后,电脑串口会收到一个返回的十六进制的 00 。但是openmv 按照示例写发送,电脑还是什么都收到不到。

我估计是接线或者焊接的问题.
建议寄回检查, 让售后检查OpenMV端是否有问题.