This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
2014:lcd_driver_on_an_fpga [2014/12/16 06:38] dimitdim |
2014:lcd_driver_on_an_fpga [2014/12/16 06:40] (current) dimitdim |
||
---|---|---|---|
Line 35: | Line 35: | ||
| {{ :2014:unicorn_dust.jpg?direct |}} | | | {{ :2014:unicorn_dust.jpg?direct |}} | | ||
- | | Highlights from the Adafruit library code | | + | | Figure 2: Highlights from the Adafruit library code | |
5. There are about 6 different combinations of these in Adafruit's library alone based on which version of the screen you have. For ours, it was the Rcmd1, Rcmd2red and Rcmd3 sets. | 5. There are about 6 different combinations of these in Adafruit's library alone based on which version of the screen you have. For ours, it was the Rcmd1, Rcmd2red and Rcmd3 sets. | ||
Line 50: | Line 50: | ||
8. Colors are represented in two bytes according to the following diagram (from the huge datasheet): | 8. Colors are represented in two bytes according to the following diagram (from the huge datasheet): | ||
- | {{ :2014:05h.png?direct |}} | + | |{{ :2014:05h.png?direct |}}| |
- | Of course, this is one of MANY options set by 0x3A (ST7735_COLMOD). | + | | Figure 3: Of course, this is one of MANY options set by 0x3A (ST7735_COLMOD). | |
9. They are placed in consecutive order starting from the left-hand top-most pixel in the drawing area. [[https://drive.google.com/file/d/0BxPpLHO-t5J7bzU5NnRpalllWGs/view?usp=sharing|Here's an example.]] | 9. They are placed in consecutive order starting from the left-hand top-most pixel in the drawing area. [[https://drive.google.com/file/d/0BxPpLHO-t5J7bzU5NnRpalllWGs/view?usp=sharing|Here's an example.]] | ||
Line 78: | Line 78: | ||
| {{ :2014:blockdiagram.jpg?direct |}} | | | {{ :2014:blockdiagram.jpg?direct |}} | | ||
- | | Block diagram of Verilog implementation | | + | | Figure 4: Block diagram of Verilog implementation | |
The following sections discuss the functions of each block. | The following sections discuss the functions of each block. |