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
Show single led on number position.
void ShowDig(int Number, int Color)
| Argument | Detail |
|---|---|
| Number | number position of LED |
| Color | Color of LED (red 0x01, green 0x02) |
Blink red led's on button pressed:
while(1)
{
ShowLeds(0x00); //all LED's off
ShowLed(GetKey(), RED_TM1638);
}