Files
tm1638-library/setupDisplay.md
2015-03-15 10:11:53 -04:00

588 B

setupDisplay Reference (TM1638/TM1640)

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

void setupDisplay(boolean active, byte intensity);
Argument Detail Default
active true for on, false for off required
intensity The starting intensity from 0 (lowest) to 7 (highest) required

Example

Activate display at maximum intensity:

module1.setupDisplay(true, 7);

Inactivate the display and set the intensity to the lowest:

module1.setupDisplay(false, 0);