I don't get it !
this is what I wrote:
//example 01 : blinking LED
const int LED = 13 // LED conected to
// digital pin 13
void setup() {
pinMode(LED, OUTPUT); // sets the digital
// as output
}
,void loop()
{
didgitawrite(LED, HIGH); // turns the LED on
delay(1000); // waits for one second
didgitalwrite(LED, LOW); // turns the LED off
delay(1000); // waits for one second
}
this is the error msg.
sketch_mar16a:7: error: expected ',' or ';' before 'void'
void setup() {
^
sketch_mar16a:13: error: expected unqualified-id before ',' token
,void loop()
^
sketch_mar16a:13: error: expected unqualified-id before 'void'
,void loop()
^
exit status 1
expected ',' or ';' before 'void'
Thanks for the help!