|
Re: Autonomous Programming Help
Well I think I have found a solution but I could be wrong, there are no errors when I compile the code but I haven't been able to try it for our NXT is dead at the moment.
Here is a sample of the code
void sweepIn(const int Speed, const int nTime)
{
motor[Sweep] = Speed;
wait1Msec(nTime);
}
I don't think I set the parameter type cause I was thinking that since I had already set it for the function it would carry over to the other parameter.
Last edited by ashb1025 : 06-03-2015 at 08:52.
|