Other Parts Discussed in Thread: DLPC900
Hi
I want to communicate with the DMD using the USB port and a code written in C, the problem is that when I have a small number of 1 bit patter to show the DMD shows nothing.
Therefore I wanted to check using the C library called HIDAPI and the read function the error code that the DMD should give me.
Looking on the programmers guide(https://www.ti.com/lit/ug/dlpu018f/dlpu018f.pdf page 15) I see that I need to send the code 0x0100 and the result should be the error code
unsigned char message[1] = {0x0100};
int res = hid_read(handle, message,1);
printf("%d", res);
The problem is that the receiving message is always 1 regardless of the command and correct functioning of the device
Do you have any suggestion on how to receive the correct information?
Alessandro