I am hooked up to a LARGE bench supply & showing a grid of lines on the display & some text
The text looks fine, but the lines near the LEFT SIDE have noticable flicker…I dug around & found the following, but are these correct adjustments for a flicker-free display???..my program is stopped (waiting for debug command appears in small letters on LCD), but the flicker is still present…
What are the correct values to use?
static void SetLCDConfigurations()
{
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;
// For EMX
lcdConfig.HorizontalSyncPulseWidth = 150;
lcdConfig.HorizontalBackPorch = 150; //try different values
lcdConfig.HorizontalFrontPorch = 150;
lcdConfig.VerticalSyncPulseWidth = 2;
lcdConfig.VerticalBackPorch = 2;
lcdConfig.VerticalFrontPorch = 2;
lcdConfig.PixelClockDivider = 5;
if (Configuration.LCD.Set(lcdConfig))
{
// New settings were saved, must reboot
Microsoft.SPOT.Hardware.PowerState.RebootDevice(false);
}