View Single Post
  #12   Spotlight this post!  
Unread 13-02-2005, 13:25
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: speed controller max speed

Quote:
Originally Posted by Team 668
nvm that i figured it out but now it says pwmin has not been defined. do i just do #define or do io have to define it a different wway. thanks a lot for your help.
no you do not need to use a define....
you should just call it as a function like so:
Code:
pwm01 = deadlimit(pwm01);
or something like that...

The pwmin is defined by the function...
be sure that you define:
"unsigned int DeadLimit(unsigned int pwmin);"
inside of an h file that you have included in it.
__________________
- from B B frank


Last edited by AIBob : 13-02-2005 at 13:28.