I think your pinMode statement is wrong. You need to use
pinMode(10,OUTPUT);
Neither one of the tutorials above use the pinMode statement you are using please explain.
I think your pinMode statement is wrong. You need to use
pinMode(10,OUTPUT);
Neither one of the tutorials above use the pinMode statement you are using please explain.