ECD.set(next_state) - Ynvisible/Ynvisible-ECD-Arduino-Library GitHub Wiki

Description:

The display is updated to a new state by passing an array of ones and zeros in the set function.

Number 1 indicates segment on (dark) and zero indicates segment off (bright). Each digit in the array correspond to one segment on the display. For example:

bool new_state[7] = {1,0,1,0,1,0,1}; //Every second segment is dark and the others are bright.
ECD.set(new_state);

Parameters:

new_state: boll array with size of the same number of segments on the display.

Returns:

None.