Ian Hua / Quadcopter-mbedRTOS

RTOS-Threads/inc/Task2.h

Committer:
pHysiX
Date:
2014-05-03
Revision:
20:b193a50a2ba3
Parent:
12:953d25061417
Child:
21:b642c18eccd1

File content as of revision 20:b193a50a2ba3:

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

#ifndef _TASK2_H_
#define _TASK2_H_

// ms
#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