I have a problem with an if statment the if statment contains "pinMode(8, OUTPUT)" whick requiers (',') or (';') in front of it this the anplies to the if statment i have tried fixing the problem by puting (',') or (';'), but then it says there needs to be (',') or (';') in front of (',') or (';').
Can you show the code? I am pretty sure pinMode(8, OUTPUT); shouldn't be in an if statement, it should be in void setup(). Any command should have a semicolon ";" after it, i.e. pinMode(8, OUTPUT);
pinMode should not be in the condition of the if statement, since it does not return any value, but can be in the code executed within an if or else statement.
You can mark a topic as 'solved' by clicking the solution checkbox under the most useful reply; that way people who encounter the same problem know that there was a solution