Other Parts Discussed in Thread: DLPC350,
Hello,
I found out that in DLPC350_api.cpp, the function DLPC350_setLedCurrents takes in rgb values that are subtrated from 255. For example this is the code in mainwindow.cpp:
RedCurrent = 255-strToNum(ui->lineEdit_RedLEDCurrent->text());
GreenCurrent = 255-strToNum(ui->lineEdit_GreenLEDCurrent->text());
BlueCurrent = 255-strToNum(ui->lineEdit_BlueLEDCurrent->text());
1. Can you explain why does it need to subtrate the current value from 255? As to what I understand, 0x00 is the lowest current value and 0xFF is the largest. Subtrating rgb from 255 would invert it.
2. I have developed my own software to control the current. I have tried to call DLPC350_setLedCurrent (54,54,52) and it failed to project sequences. I have done an experiment on this and found out that if the function parameters are lower than about 60, then DLP4500 won't works. Why is this?
Thanks.