SERIN 16 and SIROUT 16 work but not SIRIN 6 and SEROUT 7
btrela
Posts: 1
in BASIC Stamp
Hello, I am using the BS2 OEM unit. I can communicate with SERIN 16 and SEROUT 16 but when I use pin 6 and 7 it would not work.
The baud rate is the same but pins are different. I tried adding
INPUT 7
OUT7 = 0
OUTPUT 7
but still the same. Can any one please tell me what I am missing?
Many thanks!!!
The baud rate is the same but pins are different. I tried adding
INPUT 7
OUT7 = 0
OUTPUT 7
but still the same. Can any one please tell me what I am missing?
Many thanks!!!
Comments
I think you need to use a different configuration value.
It might be inverted...Sorry I can't remember what exactly it is...
Bean
"If the dedicated serial port (Tpin = 16) is used the data is inverted and driven regardless of the Baudmode setting."
Bean