OpenWSN Firmware
heli.c File Reference
#include "openwsn.h"
#include "heli.h"
#include "openudp.h"
#include "openqueue.h"
#include "openserial.h"
#include "packetfunctions.h"

Macros

#define MOTORPERIOD   100
 
#define MOTORMAX   MOTORPERIOD
 
#define MOTORMIN   0
 

Functions

void heli_setmotor (uint8_t which, uint16_t value)
 
uint16_t heli_threshold (uint16_t value)
 
void heli_init ()
 
void heli_trigger ()
 
void heli_receive (OpenQueueEntry_t *msg)
 
void heli_sendDone (OpenQueueEntry_t *msg, error_t error)
 
bool heli_debugPrint ()
 

Macro Definition Documentation

#define MOTORMAX   MOTORPERIOD
#define MOTORMIN   0
#define MOTORPERIOD   100

Function Documentation

void heli_sendDone ( OpenQueueEntry_t msg,
error_t  error 
)
void heli_setmotor ( uint8_t  which,
uint16_t  value 
)
uint16_t heli_threshold ( uint16_t  value)