|
Post by yokonav on Jul 9, 2020 21:17:13 GMT -8
What are the values for the Gameduino 3 (480x272) for the below config?
#define EVE_DISP_WIDTH 480 // Active width of LCD display #define EVE_DISP_HEIGHT 272 // Active height of LCD display #define EVE_DISP_HCYCLE 548 // Total number of clocks per line #define EVE_DISP_HOFFSET 43 // Start of active line #define EVE_DISP_HSYNC0 0 // Start of horizontal sync pulse #define EVE_DISP_HSYNC1 41 // End of horizontal sync pulse #define EVE_DISP_VCYCLE 292 // Total number of lines per screen #define EVE_DISP_VOFFSET 12 // Start of active screen #define EVE_DISP_VSYNC0 0 // Start of vertical sync pulse #define EVE_DISP_VSYNC1 10 // End of vertical sync pulse #define EVE_DISP_PCLK 5 // Pixel Clock #define EVE_DISP_SWIZZLE 2 // Define RGB output pins #define EVE_DISP_PCLKPOL 1 // Define active edge of PCLK
Especially what are the config value for the EVE_DISP_PCLK, EVE_DISP_SWIZZLE, EVE_DISP_PCLKPOL?
|
|
|
Post by jamesbowman on Jul 10, 2020 11:25:57 GMT -8
|
|
|
Post by yokonav on Jul 11, 2020 11:32:08 GMT -8
I'm guessing you are using the GD3 with the FTDI library? Thanks James! Yes, I am using FTDI library to interface Gameduino 3 with Raspberry PI 4. It is working fine now. But I am having another issue. Every time I execute the code I have to hard reset the Gameduino 3 by removing/connecting the 5V pin. I think FTDI library uses PD pin to do it automatically but I could not find which pin on Gameduino 3 is a PD pin. Is there any other way to fix it?
|
|