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.