sketchbook
|
#include "Arduino.h"
#include "config.h"
#include "def.h"
#include "types.h"
#include "MultiWii.h"
#include "Alarms.h"
Macros | |
#define | PIDMIX(X, Y, Z) rcCommand[THROTTLE] + axisPID[ROLL]*X + axisPID[PITCH]*Y + YAW_DIRECTION * axisPID[YAW]*Z |
#define | SERVODIR(n, b) ((conf.servoConf[n].rate & b) ? -1 : 1) |
Functions | |
void | initializeSoftPWM (void) |
void | writeServos () |
void | writeMotors () |
void | writeAllMotors (int16_t mc) |
void | initOutput () |
int16_t | get_middle (uint8_t nr) |
void | mixTable () |
#define PIDMIX | ( | X, | |
Y, | |||
Z | |||
) | rcCommand[THROTTLE] + axisPID[ROLL]*X + axisPID[PITCH]*Y + YAW_DIRECTION * axisPID[YAW]*Z |
int16_t get_middle | ( | uint8_t | nr | ) |
void initializeSoftPWM | ( | void | ) |
void initOutput | ( | ) |
void mixTable | ( | ) |
void writeAllMotors | ( | int16_t | mc | ) |
void writeMotors | ( | ) |
void writeServos | ( | ) |