xod/uart

License: AGPL-3.0

Provides constructors and Nodes to interact with UARTs (Software, Hardware, USB) in XOD.
NodeDescription
change-baud-rate
Changes baud rate of passed UART object. If UART already has started communication it will end it up and begin again with new baud rate.
endNo description
example-readNo description
example-uartNo description
example-printNo description
flush
Waits for the transmission of outgoing serial data to complete and then clears UART buffer.
is-available
Checks does UART have an available bytes to read
example-writeNo description
read-byte
Reads one byte from UART
print
Writes a string bytes per byte into UART.
read-bytes
Reads all available bytes from UART one by one.
uart
Constructor of HardwareUart, provides serial communication on default hardware serial ports.
soft-uart
Constructor of SoftwareUart, provides serial communication on any digital pins.
uart-0
Constructor of HardwareUart, provides serial communication through Serial.
uart-1
Constructor of HardwareUart, provides serial communication through Serial1.
uart-2
Constructor of HardwareUart, provides serial communication through Serial2.
write-byte
Writes a single byte in the UART
uart-3
Constructor of HardwareUart, provides serial communication through Serial3.
uart-usb
Constructor of HardwareUart or UsbUart, that provides serial communication through SerialUSB.