Jump to content

bad soldering. how to change Shift register for BPM common pins


Echopraxia
 Share

Recommended Posts

I am in trouble. I desoldered alittle to much and now one of my solder pads on my DOUT R3 is bad and wont make a connection with the wire. I am doing this for the bpm display of the seq on its common pins which are normaly on shift reg 6 and at pins  d0, d1 and d2. My d0 solder pad is bad and need to change the connection to another "D" on the same shift register. Do I do this in the seq led txt file?.

#if DEFAULT_BPM_DIGITS_COMMON

movlw DEFAULT_BPM_DIGITS_COMMON - 1

call MIOS_DOUT_SRSet

#endif

;; set digit

lfsr FSR1, BPM_DIGIT_0

movf SEQ_BLM_ROW_CTR, W, BANKED

movff PLUSW1, MIOS_PARAMETER1

#if DEFAULT_BPM_DIGITS_ENABLED == 2

comf MIOS_PARAMETER1, F ; invert for common anode

#endif

#if DEFAULT_BPM_DIGITS_SEGMENTS

movlw DEFAULT_BPM_DIGITS_SEGMENTS - 1

call MIOS_DOUT_SRSet

#endif

Link to comment
Share on other sites

You forgot to copy&paste the three lines before this code block:


        ;; duplicate (just because the remaining pins are not used for any other purpose)
        swapf  WREG, W
        iorwf  MIOS_PARAMETER1, F
[/code]

it's a hidden feature (but please don't tell it anybody else before they blame me that it cannot be found in the schematics ;-)) - each common select signal is available on two pins.

In other words: the D0 signal is also available at D4

Best Regards, Thorsten.

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...