a method for actuating an electromechanical grating device that has ribbon elements . the method includes the steps of : providing a data stream , generating a pulse width modulated waveform including at least two different non - zero voltages from the data stream , and applying the pulse width modulated waveform to the ribbon elements such that the ribbon elements transition through at least three different states of actuation that correspond to the pulse width modulated waveform .