View Single Post
  #8   Spotlight this post!  
Unread 01-02-2003, 19:01
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
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.