you have to send it one byte at a time. You can chose if you want to send the high or low byte first. Below is an example of sending the high byte first:
SerOut WhatEverTheTxPinIs, T2400, [TxData.HighByte, TxData.LowByte]
you have to send it one byte at a time. You can chose if you want to send the high or low byte first. Below is an example of sending the high byte first:
SerOut WhatEverTheTxPinIs, T2400, [TxData.HighByte, TxData.LowByte]
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
...Nice - I was writing that at the same time as you.
I've seen code on this forum where they just give it the word and it seems to send it (and receive it at the other PIC too). Or am I just seeing things?
(I'm actually trying to search my history to show you what I'm talking about, but as you'd expect, i can't find it.)
Bookmarks