I am facing this issue
is there someone who can do for me or help me to fix this error
I have tried my best but couldn't able to do fix.
Sorry, it seems like your code has some errors.
Close
In function 'void setup()':
13:5: error: a function-definition is not allowed here before '{' token
41:61: error: expected '}' at end of input
41:61: error: expected '}' at end of input
21:7: error: a function-definition is not allowed here before '{' token
41:61: error: expected '}' at end of input
int ledPins[ ]={3,4,5,6,7,8,9,10,11,12};
void setup()
{
for(int i =0; i <11; i++)
{
pinMode(Pins[i],OUTPUT);
}
{
void setup()
{
for (int i=0; i <11; i++)
{
pinMode(ledPins[i],OUTPUT);
}
}
{
void loop()
{
int i =10;
while (i<10)
i++}
Please anyone help me