Changes between Version 14 and Version 15 of serial


Ignore:
Timestamp:
05/22/2019 12:24:43 AM (6 years ago)
Author:
Cale Collins
Comment:

added example usage to rs485 sample code section

Legend:

Unmodified
Added
Removed
Modified
  • serial

    v14 v15  
    499499}}}
    500500
     501**Usage:**
     502{{{#!bash
     503./tx_enable <device> <baud> <mode> [<message>]
     504#EXAMPLE: ./tx_enable /dev/ttymxc0 115200 8N1 [hello_world]
     505}}}
     506
    501507Ventana boards with on-board RS485 use ARM gpio193 as the TXEN and our Ventana BSP's support the TIOCSRS485 ioctl such that you do not need to manage the transmitter enable other than enable it and set its polarity when you configure the serial port:
    502508{{{#!c