Project

General

Profile

Statistics
| Revision:

root / branches / wireless / code / projects / libdragonfly / dragonfly_lib.h @ 1513

History | View | Annotate | Download (2.1 KB)

1
/**
2
 * Copyright (c) 2007 Colony Project
3
 * 
4
 * Permission is hereby granted, free of charge, to any person
5
 * obtaining a copy of this software and associated documentation
6
 * files (the "Software"), to deal in the Software without
7
 * restriction, including without limitation the rights to use,
8
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
9
 * copies of the Software, and to permit persons to whom the
10
 * Software is furnished to do so, subject to the following
11
 * conditions:
12
 * 
13
 * The above copyright notice and this permission notice shall be
14
 * included in all copies or substantial portions of the Software.
15
 * 
16
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
 * OTHER DEALINGS IN THE SOFTWARE.
24
 **/
25

    
26

    
27
/**
28
 * @file dragonfly_lib.h
29
 * @brief Contains other include files
30
 * 
31
 * Include this file for all the functionality of libdragonfly.
32
 *
33
 * @author Colony Project, CMU Robotics Club
34
 **/
35

    
36
#ifndef _DRAGONFLY_LIB_H_
37
#define _DRAGONFLY_LIB_H_
38

    
39
/**
40
 * @addtogroup dragonfly
41
 * @{
42
 **/
43

    
44
/** @brief Initialize the board **/
45
int dragonfly_init(int config);
46

    
47
/** @} **/ //end addtogroup
48

    
49
#include <inttypes.h>
50
#include <avr/io.h>
51
#include <avr/interrupt.h>
52
#include <util/delay.h>
53
#include <util/twi.h>
54

    
55
// This file is included from the libdragonfly directory because it seems to be
56
// missing from the AVR libc distribution.
57
#include "atomic.h"
58

    
59
#include "dragonfly_defs.h"
60
#include "analog.h"
61
#include "dio.h"
62
#include "time.h"
63
#include "lcd.h"
64
#include "lights.h"
65
#include "motor.h"
66
#include "serial.h"
67
#include "buzzer.h"
68
#include "rangefinder.h"
69
#include "bom.h"
70
#include "encoders.h"
71
#include "move.h"
72
#include "reset.h"
73
#include "math.h"
74
#include "eeprom.h"
75

    
76
#include <stddef.h>
77
#include <stdbool.h>
78

    
79
#endif
80