Library for TM1638 to MSP430 Wiki
A library for interacting an MSP430 with a TM1638 (SPI 3-wire mode)
Status: Beta
Brought to you by:
shluzzz
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) |
Activate display at maximum intensity:
SetupDisplay(1, 7);
Inactivate the display and set the intensity to the lowest:
SetupDisplay(0, 0);