My code doesn't work.

TolpuddleSartre:

void LEDaan2(){

loop;{



What's that?

Bad_At_Coding:
That's to point out to which pin the LED is connected to. This shouldn't interfere with the rest of the code.


LEDaan2 is to activate one of the LED's. i used loop to make the go on and of continuously if the button is pressed.

I'll go out on a limb and state that I believe what @TolpuddleSartre means is that it is syntactically misshapen.