Firmware for NIH light mask programmed in C using TI Code composer 5.1