uart_control.py

# Ce travail est publié sous licence MIT.
# Copyright (c) 2013-2023 OpenMV LLC. Tous droits réservés.
# https://github.com/openmv/openmv/blob/master/LICENSE
#
# Contrôle UART
#
# Cet exemple montre comment utiliser le port série de votre caméra OpenMV.

import time
from machine import UART

# Initialiser l'objet UART.
uart = UART(4, 19200)

while True:
    uart.write("Hello World!\r")
    time.sleep_ms(1000)

results matching ""

    No results matching ""