Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Macros | |
#define | SERVO_SWITCH_ON_VALUE 2000 |
#define | SERVO_SWITCH_OFF_VALUE 1000 |
#define | SERVO_SWITCH_SERVO SWITCH |
#define | ServoSwitchOn() ({ servo_switch_on = true; false; }) |
#define | ServoSwitchOff() ({ servo_switch_on = false; false; }) |
Functions | |
void | servo_switch_init (void) |
void | servo_switch_periodic (void) |
Variables | |
bool | servo_switch_on |
int16_t | servo_switch_value |
#define SERVO_SWITCH_OFF_VALUE 1000 |
Definition at line 36 of file servo_switch.h.
Referenced by servo_switch_periodic().
#define SERVO_SWITCH_ON_VALUE 2000 |
Definition at line 33 of file servo_switch.h.
Referenced by servo_switch_periodic().
#define SERVO_SWITCH_SERVO SWITCH |
Definition at line 39 of file servo_switch.h.
Referenced by servo_switch_periodic().
#define ServoSwitchOff | ( | ) | ({ servo_switch_on = false; false; }) |
Definition at line 47 of file servo_switch.h.
#define ServoSwitchOn | ( | ) | ({ servo_switch_on = true; false; }) |
Definition at line 46 of file servo_switch.h.
void servo_switch_init | ( | void | ) |
Definition at line 32 of file servo_switch.c.
References servo_switch_on, and servo_switch_periodic().
void servo_switch_periodic | ( | void | ) |
Definition at line 38 of file servo_switch.c.
References SERVO_SWITCH_OFF_VALUE, servo_switch_on, SERVO_SWITCH_ON_VALUE, SERVO_SWITCH_SERVO, ServoSwitch, and TRUE.
Referenced by servo_switch_init().
bool servo_switch_on |
Definition at line 26 of file servo_switch.c.
Referenced by servo_switch_init(), and servo_switch_periodic().
int16_t servo_switch_value |