Re: Microprocessor
I want to connect an led to 8085 Microprocessor with out using any interfacing devices.
I want to connect it directly, then to which pin i have to connect and make that led toggle.
Connect an led and resistor in series as described below.
1) Connect an led to P0.7 (pin 32 on the 8051) Cathode of led to P0.7.
2) Connect a resistor (330 Ohms) to the aonde of the led
3) Connect other end of resistor to +5vdc
4) Write program as follows:
LOOP:
mov p1,#0ffh ; To configure port for input.
.............................................
.............................................
I will write an example program to flash the led if you want me to.