View Single Post
  #31   Report Post  
Posted to uk.d-i-y
Tim Watts[_3_] Tim Watts[_3_] is offline
external usenet poster
 
Posts: 7,434
Default Laser Christmas outdoor projectors..

On 04/12/16 10:19, Andy Burns wrote:
Tim Watts wrote:

Load up 24xNumLEDs bytes into RAM and let it rip. Do
whatever at the end to cause the registers to be latched to the LED
drive outputs.


They latch one-by-one not all at once, e.g starting from an idle state


With respect, are you *certain* of that? I was reading the spec sheet of
the one in the Unicorn Hat and I seem to recall a clever almost
synchronous signal that was used to latch the register to the outout driver.

But that could be a fabrication of my imagination - I'll have to go bac
to the sheet...


the first LED (well all of them) is listening for the combined
clock/data to start,

it receives the first 24 pulses without echoing them,
and latches those as its colour,

after that it receives and echoes every pulse it hears to the next LED
until it sees the pulses have stopped,

when it goes back to waiting for a new colour for itself.

so an unbroken sequence of pulses will "fill up" consecutive LEDs with
colours, but a break in pulses starts back again with the first LED.


You see, I *thought* that break was used to clock the stored value
through to the driver?? OK, you need 3 registers for that.

I might well be very mistaken...