Menu

SetupDisplay

Shluzzz

SetupDisplay

Set the display (all 7-segments) and LEDs on or off and the specifies the intensity.

void TM1638_SetupDisplay(char active, char intensity)

Argument Detail
active 1 for on, 0 for off
intensity The starting intensity from 0 (lowest) to 7 (highest)

Example

Activate display at maximum intensity:

SetupDisplay(1, 7);

Inactivate the display and set the intensity to the lowest:

SetupDisplay(0, 0);


Related

Wiki: msp430g2553 > TM1638

MongoDB Logo MongoDB