1. You can now buy finished microcontroller project from us, Check out the Store for the complete list of projects.
  2. Need a custom project, Send us some details about your project. So that we can quote the price for it.

someone please help me with this simple connection

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by GSINGH, Aug 24, 2012.

  1. GSINGH

    GSINGH New Member

    Likes Received:
    0
    Trophy Points:
    0
    im new with electronics and this is my first experiment:
    im trying to make this simple circuit with an 89s51. the led must go on as i push the button and off as i leave it.

    the problem is that it does not work......

    Image010.jpg


    someone please tell me if there is anything wrong with this circuit or this program made in kiel:

    $mod51org 00h
    setb p0.5
    clr p3.5


    check:
    jnb p0.5, light
    sjmp check


    light:
    setb p3.5
    jnb p0.5,$
    end

    please suggest what else i could be doing wrong if the above are correct.

    thanks in advance
    Tags:
Loading...

Share This Page

Loading...