mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
scripts/examples: Fix Nicla UART example.
This commit is contained in:
parent
f23382c5bd
commit
cfc1a37d3c
@ -10,7 +10,7 @@ import time
|
|||||||
from pyb import UART
|
from pyb import UART
|
||||||
|
|
||||||
# Init UART object.
|
# Init UART object.
|
||||||
uart = UART(4, 19200)
|
uart = UART("LP1", 19200)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
uart.write("Hello World!\r")
|
uart.write("Hello World!\r")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user