BS2e baud value code - 19200
blippincott
Posts: 4
I have a goofy one here. I have a Matrix Orbital LCD display with a serial controller. It is default set baud at 19200. The uProject software the company provides has a bug: the baud rate setting command does not work. I am trying to communicate with it using a BS2e. How do I get the propper baud value, in hex or otherwise, to set the constant value for the baud to 19200 in my code? If I can communicate with it, I can reset its baud to a more conservative 9600 like all the rest of my Scott Edwards Serial Backpacks. Thanks.
Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I know just enough about electronics to be a
danger to myself and others."
Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I know just enough about electronics to be a
danger to myself and others."
Comments
On the BS2, BS2e, BS2sx, BS2p, and BS2pe, serial communication is very flexible. The Baudmode argument for SERIN accepts a 16-bit value that determines its characteristics: 1-stop bit, 8-data bits/no-parity or 7-data bits/even-parity and virtually any speed from as low as 300 baud to greater than 100K baud (depending on the BASIC Stamp). The information below shows how Baudmode is calculated and show common baud modes for standard serial baud rates.
Baudmode Calculation: