title: Arduino for statement error. Expected ')' before ';' token. How to fix this?
body: <p>I am relatively new to Arduino and C++ and I am stuck on this error. I am trying to have LEDs streak across a matrix at the same time. </p>
  
  <p>The error message I receive is </p>
  
  <blockquote>
    <p>"exit status 1. expected ')' before ';' token"</p>
  </blockquote>
  
  <p>Any help would be great.</p>
  
  <pre><code>#define NUM_LEDS 64
  #define DATA_PIN 3
  CRGB leds[NUM_LEDS];
  int count1 = 0;
  int count2 = 0;
  
  void setup() {
    FastLED.addLeds&lt;NEOPIXEL, DATA_PIN&gt;(leds, NUM_LEDS);
  }
  
  void loop() {
    for ((count1 = 0; count1 &lt;= 15; count1++) and (count2 = 31; count2 &gt;= 16; count2--)) {
      leds[count1] = CRGB::Blue;
      leds[count2] = CRGB::Blue;
      FastLED.show();
      delay(100);
      leds[count1] = CRGB::Black;
      leds[count2] = CRGB::Black;
    }
  }
  </code></pre>