Ian Hua / Quadcopter-mbedRTOS

RTOS-Threads/inc/Task2.h

Committer:
pHysiX
Date:
2014-05-02
Revision:
12:953d25061417
Parent:
10:ef5fe86f67fe
Child:
20:b193a50a2ba3

File content as of revision 12:953d25061417:

#include "mbed.h"
#include "rtos.h"
#include "tasks.h"

#ifndef _TASK2_H_
#define _TASK2_H_

#define TASK2_PERIOD 1000/TASK2_FREQUENCY

extern int yaw_adjust;
extern int pitch_adjust;
extern int roll_adjust;

extern bool counterESC;

/* Gyro & PID */
void Task2(void const *argument);

#endif