Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Is a resistor nesscessary

Status
Not open for further replies.
Im using a PIC to display a number on a seven segment.
I have an input that is either tied High or Low depending if the 7 segment display is common cathode or common anode. (changes the course of the program to display corresponding type output)
The pin will either be high or low, and wont be changed while the circuit is in operation.

Is it nesscessary to use a resistor to tie an input pin high?
Or is it ok to connect it straight to 5v?
 
If you connect it directly you must guarantee that the program never uses that pin as an output (even accidentally) .
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top