FullDuplexSerial Receive only
Capn_Dave
Posts: 20
Is there a way to initialize the FullDuplexSerial object to not consume a transmit pin.
I am using the RF ID TAG READER and do not need a·transmit pin.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
I am using the RF ID TAG READER and do not need a·transmit pin.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
Comments
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
Thanks. I thought of doing that but wanted to have just one serial object in my library.
Thanks again
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
http://obex.parallax.com/objects/340/
I think the -1 becomes a 31 in the ··· ·shl···· txmask,t2··· instruction.
I verified this must be happening with the following code transmitting on pin 30
com.start(31,-2,0,9600)
com.str(string("TRANSMITTING USING PIN -2"))··
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
I used mode = 4 for open drain on TX
I still used -1 as the TX for readability
OBJ
· com:"fullduplexserial"
· reader:"fullduplexserial"
PUB START
··com.start(31,30,0,9600)···· ' start com port
· reader.start(0,-1,4,9600)··· ' start reader port
TNANX
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Caught in the PropWash
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support