Synopsis
CTL_STATUS_t ciseco_led_matrix_shield_set_polarity(CISECO_LED_MATRIX_SHIELD_t *self,
                                                   int polarity);
Description

ciseco_led_matrix_shield_set_polarity sets the display polarity of the shield self to polarity. If polarity is zero, non-zero pixels illuminate a LED and provide a white-on-black display, and if polarity is non-zero, zero pixels illuminate a LED and provide a black-on-white display.

Return Value

ciseco_led_matrix_shield_set_polarity returns a standard status code.