Project

General

Profile

Revision 7e9a19f4

ID7e9a19f4caecfc4110f2b225e1a57651f23d2c42
Parent a0644b40
Child 2581167d

Added by Thomas Mullins over 11 years ago

Added flush to motors node so hardware values actually change

View differences:

scout/motors/src/motors.cpp
151 151
  }
152 152

  
153 153
  // write to hardware
154
  fpwm << pwm;
155
  fin1 << in1;
156
  fin2 << in2;
154
  fpwm << pwm << flush;
155
  fin1 << in1 << flush;
156
  fin2 << in2 << flush;
157 157
}
158 158

  
159 159
/// @todo change these to the correct motor locations

Also available in: Unified diff