8E1 Serial with Basic Stamps
I'm trying to communicate with an industrial Pressure/Level sensor with serial communication parameters of 8E1 (8 Bits, Even Parity, 1 Stop Bit). I'd like to use a basic stamp to poll and process the data from the sensor but it seems the serout/serin command can not handle 8 bits and even parity. Has anyone been able to make a stamp communicate with 8E1 settings? If so, can you share your solution?
Thanks
Thanks
Comments
data |= ((data<<1)^(data<<2)^(data<<3)^(data<<4)^(data<<5)^(data<<6)^(data<<7)^(data<<8))&$100
Post Edited (Mike Green) : 12/19/2009 12:31:28 AM GMT
This is actually off-topic for this BASIC Stamp forum. If you have any questions or comments further on this, please start a new thread in the Propeller forum. Thanks.
Post Edited (Mike Green) : 12/19/2009 12:36:01 AM GMT