View Single Post
  #2   Spotlight this post!  
Unread 19-02-2004, 14:34
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: programs and timeing.

There are library timers included with the compiler. Look in the attched file to find out how to use them. (Look for the timers section)

I'm not sure of how you are thinking of doing the pause, but you'll have to make sure that get/putdata() is called at least every 26.2ms or the master processor on the RC will halt the program.

--EDIT--
Oh, yeah, since you at least konw what asembly is: to do asembly instructions in C do something like:
Code:
asm asmembly instruction;
--EDIT--
The file is too large to upload, but it can be found on the microchip website. (Don't remember where exactly)
__________________


Last edited by Ryan M. : 19-02-2004 at 14:42.