Quote:
|
Originally Posted by Astronouth7303
I simplified it to the macro:
Code:
#define SendByte(Byte) {TXREG = Byte; Wait4TXEmpty();}
(And I don't actually know how to write macros!)
You call this repeatedly to write the whole packet.
|
That's what I figured would work, but I wasn't sure. Don't do a lot of COMM port work.
And the macro looks fine.
