car/my_src/blinky.c

22 lines
293 B
C
Raw Normal View History

2018-01-16 16:17:34 +01:00
/*
* blinky.c
*
* Created on: Jan 16, 2018
* Author: wn
*/
#include "blinky.h"
#include "stm32f1xx_hal.h"
#include <PontCoopScheduler.h>
void blinkyExec(void *handle) {
HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
}
void blinkyInit() {
schAdd(blinkyExec, NULL, 0, 1000);
}