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

nid help on LED blinking

i have problem with the led blinking. I using the exmaple program given by keil using uVision3. When i run the program, the LED on the development board didnt blink, it just stay on! wat should i do?

thanks!

Parents Reply Children
  • That link refers to an 8255 chip.
    not for beginners (and not for advanced either, unless you are an anachronism)
    In the olden days the 8255 had its merits; however today all uCs outrun the 8255 and, in addition to the crummy interface, you will get timing problems.

    Of course, you 'can' use a 2MHz crystal or such, but what's the point?

    Erik

  • oo ok cause i heard from my teacher that it need to use control word to program the port whether the port should be input or output. guys thanks alot, i will go read up on the links that you have given me. realli thx alot:)