Problem with KINGBRIGHT SC56-11EWA

Hello Guys, i think that i have problems with my code, i checked hardware and it's all OK
i have an Arduino UNO
I modified EVERYTHING on my code but it dont want work,
code an debugging errors attaches, hope can anyone help me

My Code:

int const A=13;
int const B=12;
int const C=11;
int const D=10;
int const E=9;
int const F=8;
int const G=7;

void setup () {
pinMode(A, OUTPUT);
pinMode(F, OUTPUT);
//conteo
 //cero
digitalWrite(A, HIGH);
digitalWrite(B, HIGH);
digitalWrite(C, HIGH);
digitalWrite(D, HIGH);
digitalWrite(E, HIGH);
digitalWrite(F, HIGH);
digitalWrite(G, LOW);
delay(1000);
}

Errors:

C:\Users\NICOLA~1\AppData\Local\Temp\ccW4FLWd.ltrans0.ltrans.o: In function `main':

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling on Arduino/Genuino Uno.

NicolasDomenic:

 undefined reference to `loop'

Well, where is your loop() function? You must have one. (Unless you rewrite main().)

oqibidipo:
Well, where is your loop() function? You must have one. (Unless you rewrite main().)

added loop an much more errors

C:\Users\Nicolas Domenic\Documents\Arduino\sketch_nov22a\sketch_nov22a.ino: In function 'void setup()':

sketch_nov22a:11: error: expected initializer before 'pinMode'

pinMode(A, OUTPUT);

^

exit status 1
expected initializer before 'pinMode'

Post your new code.

int const A=13;
int const B=12;
int const C=11;
int const D=10;
int const E=9;
int const F=8;
int const G=7;

void setup (){
void loop  ()
pinMode(A, OUTPUT);
pinMode(F, OUTPUT);
//conteo
 //cero
digitalWrite(A, HIGH);
digitalWrite(B, HIGH);
digitalWrite(C, HIGH);
digitalWrite(D, HIGH);
digitalWrite(E, HIGH);
digitalWrite(F, HIGH);
digitalWrite(G, LOW);
delay(1000);
}

You are programming by shotgun. Try this, try that. You aim in the general direction of the barn and hope that maybe some of the pellets will hit. Try looking at some example sketches that ship with the IDE.

sorry, you know, i'm a noob

(deleted)

Hi,

Can I suggest you do this set of tutorials;

Especially lesson 2.

Tom… :slight_smile:

TomGeorge:
Hi,

Can I suggest you do this set of tutorials;

Arduino 5 Minute Tutorials: Lesson | RobotShop Community

Especially lesson 2.

Tom.. :slight_smile:

Thanks tom, i'll check it

TomGeorge:
Hi,

Can I suggest you do this set of tutorials;

Arduino 5 Minute Tutorials: Lesson | RobotShop Community

Especially lesson 2.

Tom.. :slight_smile:

Tom, only thing i have to say, Thanks, i readed lesson 2 and my code got functional, i appreciate you help
Thanks