Hi everybody,
I am an amatuer as far as programming is concerned.My doubt is regarding configuring ports of 8051 as input ports. I am aware that a high signal or a 1 must be sent to all the port bits to use the port as an input port. I do not know if this must be done in the main program or by some other means. Most of the sample programs i see do not seem to address these issues. If this is done in the main program then would not the port initialisation with the component connected to the port be affected?Kindly help me in this regard.
Thank you.