sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Alarms.cpp File Reference
#include "Arduino.h"
#include "config.h"
#include "def.h"
#include "types.h"
#include "MultiWii.h"
#include "LCD.h"
#include "Sensors.h"
#include "Alarms.h"

Functions

void alarmPatternComposer ()
 
void patternDecode (uint8_t resource, uint16_t first, uint16_t second, uint16_t third, uint16_t cyclepause, uint16_t endpause)
 
void setTiming (uint8_t resource, uint16_t pulse, uint16_t pause)
 
void turnOff (uint8_t resource)
 
void toggleResource (uint8_t resource, uint8_t activate)
 
void vario_output (uint16_t d, uint8_t up)
 
void switch_led_flasher (uint8_t on)
 
void switch_landing_lights (uint8_t on)
 
void PilotLampSequence (uint16_t speed, uint16_t pattern, uint8_t num_patterns)
 
uint8_t isBuzzerON ()
 
void alarmHandler (void)
 
void blinkLED (uint8_t num, uint8_t ontime, uint8_t repeat)
 

Function Documentation

void alarmHandler ( void  )
void alarmPatternComposer ( )
void blinkLED ( uint8_t  num,
uint8_t  ontime,
uint8_t  repeat 
)
uint8_t isBuzzerON ( void  )
void patternDecode ( uint8_t  resource,
uint16_t  first,
uint16_t  second,
uint16_t  third,
uint16_t  cyclepause,
uint16_t  endpause 
)
void PilotLampSequence ( uint16_t  speed,
uint16_t  pattern,
uint8_t  num_patterns 
)
void setTiming ( uint8_t  resource,
uint16_t  pulse,
uint16_t  pause 
)
void switch_landing_lights ( uint8_t  on)
inline
void switch_led_flasher ( uint8_t  on)
inline
void toggleResource ( uint8_t  resource,
uint8_t  activate 
)
void turnOff ( uint8_t  resource)
void vario_output ( uint16_t  d,
uint8_t  up 
)