I am using windows 7 with Arduino software version 1.0.5.
Is it me just being a newbee or is it a bug in the software?, sometimes when I type within a void loop, matters not how I type the syntax it will not be recognised by the ide.
And I have even copied and pasted from the tutorial site mand it has worked even though my txt has been identical to the copy and pasted txt.
EG
}
if(LDRValue < Light_sensitivity)
{
I get a" Light_dependant_resistor:18: error: expected unqualified-id before if"
Please tell me what I am doing wrong when I type my txt.
You can set your cursor to the right of any brace [{()}].
IDE will then put a small blue box around the brace it belongs to.
If they do not belong together, you probably are missing one or have misplaced one.