Arduino code for high bit-depth projection

This is the Arduino code for the proposed hybrid light modulation. It synchronizes the digital micromirror device and the LED technique to achieve high bit depth projections. The speed of Arduino Uno allows 12-bit projection.