Jump to content

LED rings Test


d2k

Recommended Posts

Hey TK...

I'm working on the encoders/led rings for the LC box - for the LED rings test f/w I just get the first 8 LEDs of all 8 rings lit, then the last 3 LEDs lighting up sequentially from one ring to the next...

Is that correct? The description say's various patterns will be displayed...

Best...

Dan

Link to comment
Share on other sites

Hi Dan,

not this isn't correct. The shift registers have to be defined in the main.asm file:

;; used by lc_ledrings.inc
LEDRINGS_SR_CATHODES    EQU     8       ; shift register with cathodes of the 8 LED rings
LEDRINGS_SR_ANODES_1    EQU     10      ; first shift register with anodes of the 8 LED rings
LEDRINGS_SR_ANODES_2    EQU     11      ; second shift register with anodes of the 8 LED rings

note that here the shift registers are counted from 0. This means: number 8 is the 9th shift register in the chain

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...
×
×
  • Create New...