|
With regards to your code, though, does sw_stacker get sent to the right PWM by the end of the loop?
[edit - I'm bad with the edits today...]
Let's say stack_pos=1 and sw_stacker=100
if stack_pos - sw_stacker > 10 then pos_error
Will this go to pos_error or not?
1-100= -99, which to the controller might be -99 or 157, depending on how it handles negative numbers in this situation.
[/edit]
__________________
Adler Attack #933 -- Trigos
Last edited by n[ate]vw : 01-02-2003 at 19:09.
|