This commit is contained in:
Wolfgang Hottgenroth
2018-01-16 16:17:34 +01:00
commit 3aa6bbc9a6
258 changed files with 391391 additions and 0 deletions

21
my_src/blinky.c Normal file
View File

@ -0,0 +1,21 @@
/*
* 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);
}