Hello I am new. I have an error and I can’t find it

You don't define any values for RED or GREEN, so when the compiler tries to replace them in the code, you end up with lines like

pinMode( , OUTPUT):
// and
digitalWrite( , HIGH);

Hence the complaint about there being something missing before the comma. Your first two lines of code need values after the key words as @JCA34F said above. ETA and the fourth line, where you define what pin the button is connected to.

1 Like