initial
This commit is contained in:
21
my_src/blinky.c
Normal file
21
my_src/blinky.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user