Caddy
A 2005 Roborodentia entry with vision and path planning capability
 All Data Structures Files Functions Variables Typedefs Macros Pages
global.h
Go to the documentation of this file.
1 /*
2  * This file is part of Caddy.
3  *
4  * Caddy is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * Caddy is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Caddy. If not, see <http://www.gnu.org/licenses/>.
16  */
24 #ifndef GLOBAL_H_
25 #define GLOBAL_H_
26 
27 // global AVRLIB defines
28 #include "avrlibdefs.h"
29 // global AVRLIB types definitions
30 #include "avrlibtypes.h"
31 
33 #define F_CPU 16000000
34 
35 #define CYCLES_PER_US ((F_CPU+500000)/1000000)
36 
37 #endif /* end ifndef GLOBAL_H_ */