Help me with this please


Closed Thread
Results 1 to 3 of 3
  1. #1
    mnkjoi's Avatar
    mnkjoi Guest

    Default Help me with this please

      • Hey ,

        Could someone helps me please with this :

        Write a program that will check the input of 2-input quadruple NAND , if the NAND gate works properly then the LED connected to RD6 should be ON , otherwise the LED should be ON . Assume PORTC connected to the inputs of quadruple 2-input NAND gates , two LEDs connected to most two bits of PORTD .

        Using pic assembly language .
        • If the four nand gates outputs matching the truth table , then we say the quad two input nand gate is working properly and the GOOD LED is On .


          Please help me with this code .


          Thanks

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Help me with this please

    Don't you want to know how much most charge by the hour first?
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,386


    Did you find this post helpful? Yes | No

    Default Re: Help me with this please

    looks pretty easy

    if the NAND gate works properly then the LED connected to RD6 should be ON , otherwise the LED should be ON

    Code:
    asm
    
    MOVE?CT 0, TRISD, 6
    MOVE?CT 1, PORTD, 6
    
    ENDASM
    Warning I'm not a teacher

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts