GGBRW / BOOLR

A digital logic simulator
http://boolr.me
Other
616 stars 65 forks source link

Add led array #53

Open KostyaCholak opened 4 years ago

KostyaCholak commented 4 years ago

This pull request adds led array

https://github.com/JPro173/BOOLR/tree/add-led-array

Screenshot 2020-09-05 at 22 46 25

Chip operates on horizontal pixel lines (8 pixels in line), so we use 8 data pins and 3 address line pins instead of 64 data pins

Selecting the line: Top line at the address 0, (ADDR0 = 0, ADDR1 = 0, ADDR2 = 0) Second top line at the address 1, (ADDR0 = 1, ADDR1 = 0, ADDR2 = 0) Bottom top line at the address 7, (ADDR0 = 1, ADDR1 = 1, ADDR2 = 1)

Chip has buffer memory and display memory, so you can write multiple lines separately and then push data to display

CE - Chip Enable, when off no writes possible and pixel won't light up, when on - operate normally (may be redundant) WE - Write Enable, write data to buffer ADDR0,1,2 - Address Bits, Active line address bits PUSH - Push data from buffer memory to display memory 0-7 - Data pins