Hi,
Does anyone know of any sample Arduino code (or libraries) for controlling the LED2472G?
I seem to be going around in circles with it and can't seem to find any example code.
Thanks,
Mike
Hi,
Does anyone know of any sample Arduino code (or libraries) for controlling the LED2472G?
I seem to be going around in circles with it and can't seem to find any example code.
Thanks,
Mike
I tired to find something but didn't have much more luck than you. However the Rasperry Pi Sense hat uses an ATtiny to drive a LED matrix using the LED2472G. Their setup is done from a C program, but the draw loop is written in assembly (maybe this could help for figuring out how to initialize the device?). Reading the datasheet for the device it seem like you're selecting which register to write by delaying the number of clock pulses before LE goes high, so I'd probably start there.
I tired to find something but didn't have much more luck than you. However the Rasperry Pi Sense hat uses an ATtiny to drive a LED matrix using the LED2472G. Their setup is done from a C program, but the draw loop is written in assembly (maybe this could help for figuring out how to initialize the device?). Reading the datasheet for the device it seem like you're selecting which register to write by delaying the number of clock pulses before LE goes high, so I'd probably start there.
Thanks Adrian, I'll have a dig through. I'm trying to fathom why they decided to use this mechanism to communicate with the LED2472G (interrogating it is really nasty - I'm still experimenting).
I have a feeling that I'll end up falling back on a Cypress PSoC as an easier alternative (SPI and LE asynchronously via hardware, control in firmware).
I'll post how I get on.
Mike