This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

89c51 port epansion with 8255 keil c

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.

Parents
  • 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

    if someone has kept code from ages ago, possibly. The days when the 8255 was used, the king of diamonds were still a jack.

    Why do you want to use such an antique.

    If this is a school assignment, ask for your monet back and RUN. Then find a place that teaches current technology.

    Erik

Reply
  • 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

    if someone has kept code from ages ago, possibly. The days when the 8255 was used, the king of diamonds were still a jack.

    Why do you want to use such an antique.

    If this is a school assignment, ask for your monet back and RUN. Then find a place that teaches current technology.

    Erik

Children
  • 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...