Skip to main content
Arduino

Return to Answer

Commonmark migration
Source Link

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.


According to this ... the analogue pins can be used just the same as digital pins

That page shows a Uno. You have a Nano.

See Arduino Nano - Arduino.cc. On that page:

Analog pins 6 and 7 cannot be used as digital pins.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.


According to this ... the analogue pins can be used just the same as digital pins

That page shows a Uno. You have a Nano.

See Arduino Nano - Arduino.cc. On that page:

Analog pins 6 and 7 cannot be used as digital pins.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.


According to this ... the analogue pins can be used just the same as digital pins

That page shows a Uno. You have a Nano.

See Arduino Nano - Arduino.cc. On that page:

Analog pins 6 and 7 cannot be used as digital pins.

Added stuff about quoting the Nano product page.
Source Link
Nick Gammon
  • 38.9k
  • 13
  • 69
  • 125

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.


According to this ... the analogue pins can be used just the same as digital pins

That page shows a Uno. You have a Nano.

See Arduino Nano - Arduino.cc . On that page:

Analog pins 6 and 7 cannot be used as digital pins.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.


According to this ... the analogue pins can be used just the same as digital pins

That page shows a Uno. You have a Nano.

See Arduino Nano - Arduino.cc . On that page:

Analog pins 6 and 7 cannot be used as digital pins.

Addes stuff about pin 26.
Source Link
Nick Gammon
  • 38.9k
  • 13
  • 69
  • 125

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.

I've tested pins 26 (serial), 5 (digital) and 15 (digital) and none output anything.

No, the LED doesn't need a resistor ...

because I tested it with the 5v and 3.3v therefore higher voltages doesn't blow it up


Sounds to me like you have damaged your output pins. Read The care and feeding of LEDs by Mike Cook.

The LED may briefly light up, but without a resistor you are damaging both the LED and the output pin. It is no surprise then, that afterwards the pins "none output anything".

Without a limiting resistor the output driver on the Arduino is overloaded and may burn out. Whether you have damaged the LED, the pin, or both, is hard to say.


(Edited to add)

still doesn't work on pins that I haven't used ...

Can you slow down a bit?

I've tested pins 26 (serial) ...

There is no pin 26 from the IDE point of view. On the board pin 26 is A7 (analog input 7) which cannot be used for digital input/output.

Please specify exactly what pin you tried (just choose one) and stick to the Arduino number (printed on the board, eg. D05) and then show the code you used to access that pin.

Source Link
Nick Gammon
  • 38.9k
  • 13
  • 69
  • 125
Loading

AltStyle によって変換されたページ (->オリジナル) /