xyControl  0.1
Quadrotor Flight Controller on AVR Basis
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Functions | Variables
motor.c File Reference

BL-Ctrl V1.2 Controller API Implementation. More...

#include <stdint.h>
#include <avr/io.h>
#include <twi.h>
#include <motor.h>
#include <tasks.h>
#include <time.h>
#include <config.h>

Go to the source code of this file.

Functions

void motorTask (void)
 Send the values stored in motorSpeed to the Controllers. More...
 
void motorInit (void)
 Initializes the motor control library. More...
 
void motorSet (uint8_t id, uint8_t speed)
 Set the speed of one or all motors. More...
 

Variables

uint8_t motorSpeed [MOTORCOUNT]
 Speed for the four motors. More...
 

Detailed Description

BL-Ctrl V1.2 Controller API Implementation.

Definition in file motor.c.