Jump to content

Recommended Posts

Posted

Hi,

I would like to seek clarifications on the Din and Dout modules with respect to their relationship regarding button numbering and the correspondent LED numbering. There are 4 shift registers, IC1 to IC4 in each Din and Dout module. I take it that IC1 to IC4 represents shift register 1 to 4. The schematics show the following mapping for the buttons and correspondent LEDs.

      IC1 - 74HC156                        IC1 - 74HC595

  pin#        button#                  pin#          LED#

  11            1 (D0)                  15            1 (D0)

  12            2 (D1)                    1            2 (D1)

  13            3 (D2)                    2            3 (D2)

  14            4 (D3)                    3            4 (D3)

    3            5 (D4)                    4            5 (D4)

    4            6 (D5)                    5            6 (D5)

    5            7 (D6)                    6            7 (D6)

    6            8 (D7)                    7            8 (D7)

Have I intrepreting this correctly? The mapping as given in the main.asm file is as shown in the snapshot. I need direction in this respect. Thanks

Best regards

Shum

button_Led_thumb.jpg

116_button_Led_jpg4d7352ac0fce3bea786d58

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...