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

turning a LED on

Hi
I am trying to see if my chip (atmel 89c51) works. I am trying to turn on a LEd through a switch. I used 11.0592 Mhz clock in pin # 19 then grounded the uC and put 5v vcc. I found several c program to turn the LED on but none of them work. Please anyone can help me by providing me a right program and tell me the right pin connection. Remember I am trying to turn the LED on through a switch.

Parents
  • "I am trying to see if my chip (atmel 89c51) works ... I found several c program ... none of them work."

    How have you confirmed that it's the programs that don't work, rather than your chip which doesn't work?
    Especially as you seem to doubt whether your chip works!

    Have you tried these programs in the simulator?

Reply
  • "I am trying to see if my chip (atmel 89c51) works ... I found several c program ... none of them work."

    How have you confirmed that it's the programs that don't work, rather than your chip which doesn't work?
    Especially as you seem to doubt whether your chip works!

    Have you tried these programs in the simulator?

Children
No data