The title said it all. Do anybody knows how to set BS2 to 8 bits, 1 start, 1 stop, no parity? I have not clue.
Hello Luis - I checked the BS programming manual under the SERIN section. There is information on how to set 1-stop bit, 8 data-bits w/no-parity, or 7-data bits w/even-parity.
I see nothing that describes 1-start bit, 1-stop bit, 8-data bits w/no-parity.
I'm sure one of the Basic Stamp wizards will chime in shortly.
Would be nice if you trought some example codes! gracias.
Will just any 8-N-1 baudmode be satisfactory?
If you look in PBASIC Help, under both SERIN and SEROUT, there are tables listing baudmodes for 8-N-1 (8bits, no parity, 1 stop bit) for all of the BS2 variants.
If you need help beyond that then you need to tell me, at minimum, which Stamp you are using and provide a link to the device with which you intend the Stamp to communicate.
Comments
Hello Luis - I checked the BS programming manual under the SERIN section. There is information on how to set 1-stop bit, 8 data-bits w/no-parity, or 7-data bits w/even-parity.
I see nothing that describes 1-start bit, 1-stop bit, 8-data bits w/no-parity.
I'm sure one of the Basic Stamp wizards will chime in shortly.
SERIN, SEROUT -- baudmode tables
All choices include a start bit.
They really take care of you around here, y'know.
...sigh - as always, you are correct Mr. Allen.
For some reason I failed to remember the start bit.
Would be nice if you trought some example codes! gracias.
If you look in PBASIC Help, under both SERIN and SEROUT, there are tables listing baudmodes for 8-N-1 (8bits, no parity, 1 stop bit) for all of the BS2 variants.
If you need help beyond that then you need to tell me, at minimum, which Stamp you are using and provide a link to the device with which you intend the Stamp to communicate.