Digital-Logic-Sim icon indicating copy to clipboard operation
Digital-Logic-Sim copied to clipboard

[Feature Request] RGB LED for use in custom sized screens

Open Nadelio opened this issue 9 months ago • 4 comments

I'd like to build a faster way to draw to pixels on the rgb screen, so I wanted to implement a GPU. The thing is, I can't easily replicate the behavior of the GPU without either an extremely high clock speed (which I can't do on my computer) or direct pixel access (which isn't possible with the rgb display).

I would build a gpu using just red LED's to start, but I'd like to also have the ability to create full rgb color on an LED.

My thoughts for a pin diagram would be something like this:

IN-4  ["R"]
IN-4  ["G"]
IN-4  ["B"]
IN    ["Refresh"]
IN    ["Clock"]

OUT-4 ["R"]
OUT-4 ["G"]
OUT-4 ["B"]

Nadelio avatar May 17 '25 11:05 Nadelio

Why would the LEDs need outputs? Also, this appears to be just 3 4-BIT (not 4 3-BIT) registers/volatile memory, 1 for each colour. Refresh is just the store signal. (plus a display, of course)

BraveCaperCat2 avatar May 18 '25 19:05 BraveCaperCat2

Why would the LEDs need outputs?

They don't, it is more of a suggestion to follow the design pattern of the rgb display.

Nadelio avatar May 18 '25 19:05 Nadelio

Also, this appears to be just 3 4-BIT (not 4 3-BIT) registers/volatile memory, 1 for each colour. Refresh is just the store signal. (plus a display, of course)

This is what I was thinking of when I initially made the request. Essentially a 1 pixel variant of the 8x8 rgb display.

Nadelio avatar May 18 '25 19:05 Nadelio

My branch, based on the DLS Community Edit, adds the RGB LED. There is no outputs, clock pin, and refresh pin, but you can use an RGB LED with just the RGB input pins. Its currently awaiting to be merged, you can check the status here.

BeboKhouja avatar Jun 22 '25 08:06 BeboKhouja