Main Site Documentation

LCD Settings for old 7 inch EMX Display


#1

I have an old GHI 7 inch display that was designed to be connected to the Cobra 1.
I’m trying to port an application from 4.1 to 4.2.
The original application had these LCD configuration settings:


Configuration.LCD.Configurations lcdConfig = new Configuration.LCD.Configurations();
lcdConfig.Width = 800;
lcdConfig.Height = 480;

// Only use if needed, see documentation.
lcdConfig.PriorityEnable = true;
lcdConfig.OutputEnableIsFixed = false;
lcdConfig.OutputEnablePolarity = true;
lcdConfig.PixelPolarity = false;
lcdConfig.HorizontalSyncPolarity = false;
lcdConfig.VerticalSyncPolarity = false;
lcdConfig.HorizontalSyncPulseWidth = 150;
lcdConfig.HorizontalBackPorch = 150;
lcdConfig.HorizontalFrontPorch = 150;
lcdConfig.VerticalSyncPulseWidth = 2;
lcdConfig.VerticalBackPorch = 2;
lcdConfig.VerticalFrontPorch = 2;
lcdConfig.PixelClockDivider = 5;

PriorityEnable and PixelClockDivider are no longer part of the LCD.Configurations class.
The new class does include this property: PixelClockRateKHz.

What value should I set PixelClockRateKHz to?

Thanks.


#2

@ jasdev - Try 14400, that is 72000 / 5 ie. clock rate in KHz / pixelclockdivider.


#3

That worked! Thank you!


#4

@ jasdev - It is a pleasure, I am glad that worked.