hi friends,
i wanted to increase the port pins with the help of 8255 for 89c51 mcu(atmel)
does any one have the c codes that can work with keil uvision (or c51 compiler). i simply require a sample program with which if i push a switch on any port pin of 89c51 and i can lit an LED DIODE connected on a single 8255 port pins.
your help can make a great fevour for me.
Actually, if it's a school assignment you should be doing it yourself and not cheating by asking for the answers here!
And if it is a school assignment, you should do it just for the experience, but realise that there are better ways to achieve it with modern devices...