This commit is contained in:
=
2019-04-17 15:59:38 -05:00
parent 072f0bf83f
commit bf5cb27f4e
3 changed files with 2 additions and 2 deletions

26
apptasks.c Normal file
View File

@ -0,0 +1,26 @@
/*
* tasks.c
*
* Created on: Feb 4, 2015
* Author: jcobb
*/
#include "FreeRTOS.h"
#include "task.h"
#include "tasks.h"
#include "Drivers/led.h"
void vLEDFlashTask(void *pvParms)
{
vLEDInit();
portTickType xLastWakeTime;
const portTickType xFrequency = 1000;
xLastWakeTime = xTaskGetTickCount();
for(;;) {
vLEDToggle();
vTaskDelayUntil(&xLastWakeTime, xFrequency);
}
}