9V pin output id ?

Hi everybody,

I'm very knew here, so I apologize for this stupid question, but however :
What's the id of the 9V (VIN) pin ? I would like to make a small DEL blink with another pin, and I realized that I didn't know what to put in the pinMode() first argument.

Thank you :slight_smile:

The other pin number

I'm sorry, but I didn't get it... What number ? :confused:

You didn't get what?
Have you read the reference page for pinMode?

If I understand it right, you have something across Vin and some other pin?

Well when the other pin is HIGH, the device will have no potential diff and be off; when the other pin is LOW, the device will have PD and be on.

So you make the other pin go high and low by setting it with pinMode once and then digitalWrites.

Vin doesn't have a pin number: it's not an I/O pin

Thank you very much !
That's exactly what I was looking for :slight_smile:

What's a DEL?

An LED?

Make sure you have a resistor in series....

Oups, I'm French and a DEL is a Diode Electro Luminescente (the French for LED). And yes I have some resistances...

"Diode Electro Luminescente" sounds so much better, especially when I say it out loud in my Peter Sellers "Inspector Clouseau" accent... :wink: