View Single Post
  #8   Spotlight this post!  
Unread 08-04-2004, 06:28
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Using an FRC with the RCX?

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.
__________________