Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
import time from pyb import UART uart=UART(3,9600) send1="a" send2="b" while(True) uart.write(send1) time.sleep_ms(1000) uart.write(send2) time.sleep_ms(1000)
while(True)后面没冒号。