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.

DLPDLCR2000EVM: DLPDLCR2000EVM, export DMD

Part Number: DLPDLCR2000EVM

Hello,

I am using the DLP® LightCrafter Display 2000 Evaluation Module (EVM) and its DMD. I am exporting the DMD's display. For that, I use the following line code:

export DISPLAY=:0

It works when I type this command and press enter. However, I need to have that on a file code to run it instead of writing the same line every time I need to use the DMD. I wrote the following code file and some variations of it. The command to turn off the LED works well, but turning on the Display does not work.

#!/bin/bash

#turn off LED
i2cset -y 2 0x1b 0x16 0x00 0x00 0x00 0x00 i

#turn on Display
export DISPLAY=:0

Please, how could I solve this issue?

Thank you,

Thaisa