application: add strobe animations
This commit is contained in:
parent
e6a545cd0f
commit
e9078e831e
|
@ -241,10 +241,11 @@ static void process_command(char* str)
|
|||
#define STROBE_ON 0 /**< LED is on when pin is low (open-drain allows 5V on) */
|
||||
|
||||
/* strobe animations (on + off times in ms) */
|
||||
/** single strobe */
|
||||
static const uint16_t strobe_single[] = {100, 0};
|
||||
/** double strobe */
|
||||
static const uint16_t strobe_double[] = {100, 200, 100, 0};
|
||||
static const uint16_t strobe1[] = {100, 0};
|
||||
static const uint16_t strobe2[] = {100, 100, 100, 0};
|
||||
static const uint16_t strobe3[] = {100, 100, 100, 100, 100, 0};
|
||||
static const uint16_t strobe5[] = {50, 50, 50, 50, 50, 50, 50, 50, 50, 0};
|
||||
static const uint16_t strobe10[] = {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100};
|
||||
|
||||
/** switch strobe power on */
|
||||
static void strobe_on(void)
|
||||
|
|
Loading…
Reference in New Issue