Hi Ti experts,
I have problems with the C/C++ APi for windows given in LightCrafter4500_GUI_Source_Code_v3.0.1.
My Firmware version is 3.0.0
In my C/C++ program, first I set the configuration like this (after the check of connections) :
DLPC350_SetMode(true); // For pattern display mode
DLPC350_SetPatternDisplayMode(true); // Data through HDMI
DLPC350_SetPatternTriggerMode(0); // Vsync Trigger
DLPC350_SetExposure_FramePeriod(13000, 13000); //Exposure Period and Frame Periode =13000
DLPC350_SetLedCurrents(155, 155, 155); // Led current
DLPC350_SetPatternConfig(1 , true, 1, 1);
DLPC350_ClearPatLut();
DLPC350_AddToPatLut(2, 0, 8, 7, false, false, true, false);
I'm not sur about the last 3 instructions. What I wont is a sequence of one 8bits depth pattern (G0:G7) using a white color displayed in repeat mode.Is correct what I did ?
Then I send the Pattern to the DLPC350 like this :
DLPC350_SendPatLut();
splashLut[0] = 0;
DLPC350_SendImageLut(&splashLut[0], 1);
I can't understand the DLPC350_SendImageLut() function and what should be the values of its parameters. it is not documented in the API, but used in the source code of the GUI ? Is it correct What I did ? If not how to do it ?
Finaly, I tell the DLPC350 to display:
DLPC350_PatternDisplay(2);
The problem is when I run my program directly nothing happened.
if I fist send the pattern sequence with the GUI then close it and run my program, configurations work well (Led current, Patseq mode...) and I can stop and start the display. But the DLPC350 display only the sequence sent via the GUI.
So I think that my problem is in the part of sending the pattern sequence to the DLPC350.
Can you help to solve this problem ?
Regards,
Ahmed