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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...