Open devWork1 opened 3 years ago
Hello, unfortunately not, the software is quite application-specific, and made to only work with binary images. As i see it you have three options:
"Simulate" a grayscale image using a sequence of eight binary images with different exposures. The dmd is inherently a binary device: Even in the official grayscale mode, the intensity modulation is achieved by showing 8 binary patterns each having double the exposure time of the previous one (i think the sequence of the official graiscale mode from TI is 0.0625 - 0.125 - 0.25 - 0.5 - 1 - 2 - 4 - 8 ms). If you convert your grayscale pixel values in binary format, each digit will decide whether that pixel is on or off in a given frame of the sequence.
Use the video mode and an hdmi cable, writing some separate code to show the grayscale images on the kit detected as a second monitor for your pc
Make a modified version of the code. You can use this library as a base, and implement the grayscale mode using the "DLPC900 Programmer's Guide" from Texas Instruments.
Hello,
I was wondering if this code can handle grayscale images and upload them accordingly for triggering in pattern-on-the-fly mode. I tried loading grayscale images, but I see some weird behavior when I externally trigger to advance. Do i need to add a command to switch the DMD to a different bit mode. Or do I need to prepare the images in a special way. I recall the example requiring either 0 or 1 pixel values, but for something 0-255, is there some additional preparation?
Any guidance would be greatly appreciated.
Thanks!