Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18599

Re: Serial config support : Serial1.begin( 115200, SERIAL_8N2);

$
0
0

Sure, the system() is a function that enables the use of Linux commands in the IDE, inside the parenthesis between the quotation marks is the Linux command. Stty is a command to change and display terminal line settings. The –F option enables the use of a specified device. /dev/ttyS0 is the Tx and Rx (pins 0 and 1) and it is read as a device, csN set the character size to N bits in this case 8. Parenb sets the parity bit and cstopb sets 2 stop bits per char. I hope this is clear, in case it isn't clear I’d suggest you to take a look at these sites http://unixhelp.ed.ac.uk/CGI/man-cgi?stty, Linux and UNIX stty command help and examples . Let me know if this works for you.

 

Regards,
  JPMontero_Intel


Viewing all articles
Browse latest Browse all 18599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>