rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
board_extra.c File Reference

Functions

void BLIIINK (int t)
 

Function Documentation

◆ BLIIINK()

void BLIIINK ( int  t)

Definition at line 7 of file board_extra.c.

7 {
8 int i, j;
9 palSetPadMode(GPIOA, PROMETHEUS_LED, PAL_MODE_OUTPUT_PUSHPULL);
10 //while (true) {
11 for (j = 0; j < 2; j++) {
12 palClearPad(GPIOA, PROMETHEUS_LED);
13 for (i = 0; i < 2*t; i++) {
14 palTogglePad(GPIOA, PROMETHEUS_LED);
15 chThdSleepMilliseconds(250);
16 }
17 chThdSleepMilliseconds(1000);
18 }
19}

Go to the source code of this file.