port programming


8051 Microcontroller port programming

There are four ports P0, P1, P2  and  P3 each  use  8 pins,  making  them 8-bit  ports. All the ports upon  RESET are configured as output, ready to be used as output ports. To use any of these ports as an input port, it must be programmed. Pin configuration of 8051/8031 microcontroller. Port 0: Port […]