View Single Post
  #7   Spotlight this post!  
Unread 28-01-2008, 14:24
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: Program a motor to turn on and off every other second.....

It would be very helpful to know what the error is...in fact, you should ALWAYS post the error.

Looks like, though, you might have a function without a declaration. So open up a header file (your team's, if you have your own library, but user_routines.h will work) and add in:

void code(void);

Or whatever you decide to use for the function's name.
__________________
What place are we at? ... TODAI!