![]() ![]() We provide the pins we'd like to use, board.TX and board.RX, and we set the baudrate=9600. # SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industriesįirst we create the UART object. Uart = busio.UART(board.TX, board.RX, baudrate=9600)ĭata = uart.read(32) # read up to 32 bytesĭata_string = ''.join() ![]() ![]() """CircuitPython Essentials UART Serial example""" Copy Code # SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |