car/my_src/blinky.c
Wolfgang Hottgenroth 3aa6bbc9a6 initial
2018-01-16 16:17:34 +01:00

22 lines
293 B
C

/*
* 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);
}