baconwaifu / propforth

Automatically exported from code.google.com/p/propforth
0 stars 0 forks source link

Definition of PropForth word "serial" #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
9.1.300 serial
\ serial ( n1 n2 n3 -- )
\ n1 - tx pin
\ n2 - rx pin
\ n3 - baud rate

To set desired baud rate it is necessary to divide baud rate by 4.

Recommend correction: 
\ n3 - baud rate / 4

Example: to set up a serial port at 9600 baud use 2400 for baud rate parameter.

Original issue reported on code.google.com by artkenne...@gmail.com on 14 Feb 2014 at 10:55

GoogleCodeExporter commented 8 years ago
The first time I have submitted.  Please advise if I missed any part of the 
process.

Original comment by artkenne...@gmail.com on 14 Feb 2014 at 10:57

GoogleCodeExporter commented 8 years ago
Good suggestion, makes things clearer. Will roll into next release.

Original comment by salsa...@gmail.com on 16 Feb 2014 at 3:43