summaryrefslogtreecommitdiff
path: root/n/accel/accel.h
blob: 9fca925f04d4c522591c662ed811211a0145930a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef accel_h
#define accel_h
/* accel.h */
/* Accelerometre {{{
 *
 * Copyright (C) 2004 Thomas Burg
 *
 * Robot APB Team/Efrei 2005.
 *        Web: http://assos.efrei.fr/robot/
 *      Email: robot AT efrei DOT fr
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 * }}} */

/* +AutoDec */
/* -AutoDec */

#include <avr/io.h>
#include <inttypes.h>
#include <avr/signal.h>
#include <avr/interrupt.h>
#include <string.h>
#include <n/avr/rs232/rs232.h>
#include <n/avr/proto/proto.h>
#include <n/avr/utils/utils.h>


#include "calcul.h"
#include "avrconfig.h"

enum T_etat {strt_at_Ta, rd_at_Tb, rd_at_Tc, rd_at_Td,record, rd_at_T2_x,
    record_T2_x,rd_at_T2_y, record_T2_y};



#endif /* accel_h */