title: How to use #define to assign pins in Arduino?
body: <p>I am trying to use <code>#define</code> to create a constant and define a pin, check this code</p>
  
  <pre><code>#define PIN_MICROPHONE 13;
  
  void loop()
  {
      analogRead(PIN_MICROPHONE);
  }
  </code></pre>
  
  <p>But when trying to compile, it says this error:</p>
  
  <pre><code>: In function 'void loop()':
  error: expected `)' before ';' token
  error: expected primary-expression before ')' token
  error: expected `;' before ')' token
  </code></pre>
  
  <p>How can I use <code>#define</code> macros to define pins?</p>
  
  <p>This code compiles ok</p>
  
  <pre><code>#define PIN_MICROPHONE 13;
  
  void loop()
  {
      analogRead(13);
  }
  </code></pre>
  
  <p>I am using Arduino 1.0.5</p>