user51474: I am in the early stages of writing my program, but I have run into a problem. I am fairly new to Arduino so I'm not sure if there is something I am trying to do that doesn't work, but I am getting an error message 

expected ; before ) token

on the line for(count <= 10).
I would really appreciate if someone could let me know why I am getting this error.
#include<EEPROM.h>
const int LED = 12;
const int SWITCH = 4;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);

  pinMode(LED, OUTPUT);           //LED is always outputting information
  pinMode(LED_BUILTIN, OUTPUT);   //Built in LED is always outputting information
  pinMode(SWITCH, INPUT_PULLUP);  //Switch inputs value when in/out of ground
}

void loop() {
  // put your main code here, to run repeatedly:
  int addr = 0;     //Declaring variables
  int count = 0;
  int seconds;

  if (digitalRead(SWITCH) == LOW) {
Serial.println("----Recording----");

    for (count <= 10) {
      while (digitalRead(SWITCH) == LOW) {
        count = count + 1;
        digitalWrite(LED, LOW);
        delay(50);
      }
      else {
        count = count + 1;
        digitalWrite(LED, HIGH);
        delay(50);
      }
    } else {
      digitalWrite(LED_BUILTIN, HIGH);        //Internal LED blinks
      delay (300);
      digitalWrite(LED_BUILTIN, LOW);
      delay(300);
    }
  }
}


user30039: Welcome to arduino.stackexchange.
Compiler informs you about the problems with your code. In your case there is a problem with for loop.
Remember, the for loop is one of basic concepts in c/c++ (and many others) programming language.
Syntax is:  
for ( init-expression ; cond-expression ; loop-expression )   
    statement;  

Description of above:  
init-expression:
Before any other element of the for statement, init-expression is executed only once. Control then passes to cond-expression.  
cond-expression:
Before execution of each iteration of statement, including the first iteration. statement is executed only if cond-expression evaluates to true (nonzero).  
loop-expression:
At the end of each iteration of statement. After loop-expression is executed, cond-expression is evaluated.  
For example: 
for(int count=0; count<10; count++){
    if (count%2) {
        digitalWrite(LED, LOW);
        }
    else{
        digitalWrite(LED, HIGH);
        }  
    }

Add some extra code when needed.
To see more description of for loop see here.

51474: <p>I am in the early stages of writing my program, but I have run into a problem. I am fairly new to Arduino so I'm not sure if there is something I am trying to do that doesn't work, but I am getting an error message </p>

<blockquote>
  <p>expected ; before ) token</p>
</blockquote>

<p>on the line <code>for(count &lt;= 10)</code>.</p>

<p>I would really appreciate if someone could let me know why I am getting this error.</p>

<pre><code>#include&lt;EEPROM.h&gt;
const int LED = 12;
const int SWITCH = 4;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);

  pinMode(LED, OUTPUT);           //LED is always outputting information
  pinMode(LED_BUILTIN, OUTPUT);   //Built in LED is always outputting information
  pinMode(SWITCH, INPUT_PULLUP);  //Switch inputs value when in/out of ground
}

void loop() {
  // put your main code here, to run repeatedly:
  int addr = 0;     //Declaring variables
  int count = 0;
  int seconds;

  if (digitalRead(SWITCH) == LOW) {
Serial.println("----Recording----");

    for (count &lt;= 10) {
      while (digitalRead(SWITCH) == LOW) {
        count = count + 1;
        digitalWrite(LED, LOW);
        delay(50);
      }
      else {
        count = count + 1;
        digitalWrite(LED, HIGH);
        delay(50);
      }
    } else {
      digitalWrite(LED_BUILTIN, HIGH);        //Internal LED blinks
      delay (300);
      digitalWrite(LED_BUILTIN, LOW);
      delay(300);
    }
  }
}
</code></pre>
 30039: <p>Welcome to arduino.stackexchange.<br>
Compiler informs you about the problems with your code. In your case there is a problem with <strong>for</strong> loop.<br>
Remember, the for loop is one of basic concepts in c/c++ (and many others) programming language.<br>
Syntax is:  </p>

<pre><code>for ( init-expression ; cond-expression ; loop-expression )   
    statement;  
</code></pre>

<p>Description of above:  </p>

<p><em>init-expression</em>:<br>
Before any other element of the for statement, init-expression is executed only once. Control then passes to cond-expression.  </p>

<p><em>cond-expression:</em><br>
Before execution of each iteration of statement, including the first iteration. statement is executed only if cond-expression evaluates to true (nonzero).  </p>

<p><em>loop-expression:</em><br>
At the end of each iteration of statement. After loop-expression is executed, cond-expression is evaluated.  </p>

<p>For example: </p>

<pre><code>for(int count=0; count&lt;10; count++){
    if (count%2) {
        digitalWrite(LED, LOW);
        }
    else{
        digitalWrite(LED, HIGH);
        }  
    }
</code></pre>

<p>Add some extra code when needed.</p>

<p>To see more description of for loop see <a href="https://msdn.microsoft.com/en-us/library/b80153d8.aspx" rel="nofollow noreferrer">here</a>.</p>
