UART functions
Posted: Mon Nov 24, 2014 7:15 pm
Functions for UART:
uart.detach = detach the uart from the lua interpreter
uart.attach = reattach the uart to the lua interpreter
uart.configure(baudrate,parity,...) = configure uart
uart.onreceive = callback for data received
uart.write = transmit data
uart.read = read data
uart.onwritefinish = callback for data transmitted
uart.TXenable
uart.RXenable
uart.detach = detach the uart from the lua interpreter
uart.attach = reattach the uart to the lua interpreter
uart.configure(baudrate,parity,...) = configure uart
uart.onreceive = callback for data received
uart.write = transmit data
uart.read = read data
uart.onwritefinish = callback for data transmitted
uart.TXenable
uart.RXenable