This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/DLP3010EVM-LC: how to control dlp3010 evm lc with c++?

Part Number: DLP3010EVM-LC
Other Parts Discussed in Thread: DLP3010

Tool/software: TI C/C++ Compiler

I have a dlp3010 evm lc,I want to control it with c++ ,i download the API on the website, but don't know how to start , and i don't see where can input images like internal pattern in the code as figure below,we need to use fuction of internal pattern , trigger out2 and trigger in, can anyone teach me or supply a sample code for me?  

best

Dino

  • Hi Dino,

    Welcome to DLP forum and thank you for your interest in DLP technology.

    The sample code is an example of how to create the internal pattern data on fly. You need to modify the code to read the pattern data from a file and create pattern set.

    You need to modify the function like " PopulateOneBitPatternData(uint16_t Length, uint8_t* Data, uint16_t NumBars)" to read from a file and assign the pattern to data variable.  You may replace the parameter "NumBar" with the file name.

    In the function "void PopulatePatternSetData(uint16_t DMDWidth, uint16_t DMDHeight)" please keep only those section relevant to type of pattern i.e 1 bit pattern.

    Hope this helps.

    regards,

    Vivek.

  • thanks for reply,

    but i dont understand how to replace numbars with my file name,can you send me a sample code to read?

    sorry ,my experience of c++ development is less to do that,i appreciate your help.

    best 

    Dino 

  • Hi Dino,

    I have forwarded your suggestion/request to team for future sample code updates.

    The request for programming assistant is beyond scope of this forum. I will request you to consider appropriate  forum and resources for program development.

    regards,

    Vivek