Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

Hi Dan,

ok, with a PIC16F core you have to connect the LED rings to port J7, it should work w/o problems

Best Regards, Thorsten.

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