Iei-integration AFL2-W19A-H61 v1.21 Uživatelský manuál Strana 51

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 279
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 50
AFL2-W19A/AB-H61
Page 31
frequency 24Hz)0xFF = (10.73s)Frequency = [(0~255) + 1]/24=
x(second)Ex300ms = (7 + 1) / 24 0.333s
Remarks: This structure has used to store the blinking duty cycle and frequency of LED IC.
Please attention one LED IC only has one duty cycle and frequency to be group
used, It means all LED has the same blink mode on a LED IC.
2.4.3.3 _LED_BLNK_SET
Syntax: typedef struct _LED_BLNK_TYPE{
UCHAR Main_Addr; //Main address
int BLNK_TYPE;
}LED_BLNK_TYPE, *PLED_BLNK_TYPE;
Parameters:
Main_Addr [UCHAR]IC Address on I2C bus.
BLNK_Type [int] - Turn on/off blinking circuit on the LED IC. Defined
by:
#define LED_BLNK_ON 0
#define LED_BLNK_OFF 1
Remarks: This structure has used to turn on/off blinking circuit on the LED IC.
Zobrazit stránku 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 278 279

Komentáře k této Příručce

Žádné komentáře