title: Char arrays and if statement syntax
body: <p>I have problem with char array and if statement.</p>
  
  <p>i try to do:</p>
  
  <pre><code>void Motors::manualMotion(int CycleDutyAzim,int CycleDutyPitch,char directionAzim[],char directionPitch[]){
  
  
      setCycleDutyA(CycleDutyAzim);
      setCycleDutyP(CycleDutyPitch);
  
      if(directionAzim=="FORW"){
          moveForwAzim();
      }else if(directionAzim=="BACK"){
          moveBackAzim();
      }else{
          Serial.println("FAIL");
          handbreakAzim();
      }
  
      if(directionPitch=="FORW"){
          moveForwPitch();
      }else if(directionPitch=="BACK"){
          moveBackPitch();
      }else{
          Serial.println("FAILED");
          handbreakPitch();
      }
  }
  </code></pre>
  
  <p>I get all the time the serial.prints with the messages. I made it work with on char not an array. What is the syntax in order to work properly.When i call the method i give this:</p>
  
  <pre><code>Motors::manualMotion(90,50,"FORW","BACK");
  </code></pre>
  
  <p>It does not work.When i use one char like F and B, it works properly.</p>