View Single Post
  #10   Spotlight this post!  
Unread 27-07-2012, 09:46
badtkee badtkee is offline
Registered User
no team
 
Join Date: Jun 2012
Location: Green Bay
Posts: 20
badtkee is an unknown quantity at this point
Re: Help with Speed control using Cortex and US Digital Encoders

so if i use the PID() code given earlier, would just changing
motor[1] = pwm_out
to
motor [1] = -pwm_out
would that make the motors go backwards? or how can this be done?
__________________
--Eric