Saruulmongolia / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

Motors_PWM - initialize: no init for left motor pin? #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See Motors.h - about line 175

What is the expected output? What do you see instead?
  void initialize(void) {
    pinMode(FRONTMOTORPIN, OUTPUT);
    analogWrite(FRONTMOTORPIN, 124);            
    pinMode(REARMOTORPIN, OUTPUT);
    analogWrite(REARMOTORPIN, 124);             
    pinMode(RIGHTMOTORPIN, OUTPUT);
    analogWrite(RIGHTMOTORPIN, 124);            
    pinMode(LEFTMOTORPIN, OUTPUT);
  }

i think there is a line missing in the end:
    analogWrite(LEFTMOTORPIN, 124);   

What version of the product are you using? On what operating system?
AeroQuad_v2.1_Beta/ Motors.h

Original issue reported on code.google.com by valentin.slawi@gmail.com on 17 Dec 2010 at 9:42

GoogleCodeExporter commented 8 years ago
Looks like the latest version got simplified to take care of this.  Thanks for 
reporting!

Original comment by CaranchoEngineering@gmail.com on 21 Dec 2010 at 1:12