initial, with blinking led

This commit is contained in:
Wolfgang Hottgenroth
2018-03-19 19:29:45 +01:00
commit 427717109b
249 changed files with 382975 additions and 0 deletions

19
my_src/led.c Normal file
View File

@ -0,0 +1,19 @@
/*
* led.c
*
* Created on: Mar 19, 2018
* Author: wn
*/
#include "stm32f1xx_hal.h"
#include <PontCoopScheduler.h>
void blink(void *handle) {
HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
}
void blinkInit() {
schAdd(blink, NULL, 0, 1000);
}