Skip to main content
added 9 characters in body
Source Link

Because pins 0 and 1 (physical 5,6) are PWM's you should keep them for later ... and you still have A3 and A2 for analogWrite so, you should use Pin 2 (Physical 7, next to +5V) like this :

add this in the setup function

pinMode(2, OUTPUT);

And add this in your loop function:

digitalWrite(2,HIGH);

In case you forget

For reference : SparkFun's Help guide

Remember : Physical pin "1", reset, has a dot marked on it.

Because pins 0 and 1 (physical 5,6) are PWM's you should keep them for later ... and you still have A3 and A2 for analogWrite so, you should use Pin 2 (Physical 7, next to +5V) like this :

add this in the setup function

pinMode(2, OUTPUT);

And add this in your loop function:

digitalWrite(2,HIGH);

In case you forget

For reference : SparkFun's Help guide

Remember : Physical pin "1" has a dot marked on it.

Because pins 0 and 1 (physical 5,6) are PWM's you should keep them for later ... and you still have A3 and A2 for analogWrite so, you should use Pin 2 (Physical 7, next to +5V) like this :

add this in the setup function

pinMode(2, OUTPUT);

And add this in your loop function:

digitalWrite(2,HIGH);

In case you forget

For reference : SparkFun's Help guide

Remember : Physical pin "1", reset, has a dot marked on it.

Source Link

Because pins 0 and 1 (physical 5,6) are PWM's you should keep them for later ... and you still have A3 and A2 for analogWrite so, you should use Pin 2 (Physical 7, next to +5V) like this :

add this in the setup function

pinMode(2, OUTPUT);

And add this in your loop function:

digitalWrite(2,HIGH);

In case you forget

For reference : SparkFun's Help guide

Remember : Physical pin "1" has a dot marked on it.