$extrastylesheet
avr-libc  2.0.0
Standard C library for AVR-GCC

AVR Libc Home Page

AVRs

AVR Libc Development Pages

Main Page

User Manual

Library Reference

FAQ

Example Projects

ephemera_common.h
00001 /*
00002  * (C)2012 Michael Duane Rice All rights reserved.
00003  *
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are
00006  * met:
00007  *
00008  * Redistributions of source code must retain the above copyright notice, this
00009  * list of conditions and the following disclaimer. Redistributions in binary
00010  * form must reproduce the above copyright notice, this list of conditions
00011  * and the following disclaimer in the documentation and/or other materials
00012  * provided with the distribution. Neither the name of the copyright holders
00013  * nor the names of contributors may be used to endorse or promote products
00014  * derived from this software without specific prior written permission.
00015  *
00016  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00019  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00020  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00021  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00022  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00023  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00024  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00025  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00026  * POSSIBILITY OF SUCH DAMAGE.
00027  */
00028 
00029 /* $Id: ephemera_common.h 2345 2013-04-11 23:58:48Z swfltek $ */
00030 
00031 #ifndef EPHEMERA_PRIVATE_H
00032 #define EPHEMERA_PRIVATE_H
00033 
00034 #define TROP_YEAR 31556925
00035 #define ANOM_YEAR 31558433
00036 #define INCLINATION 0.409105176667471    /* Earths axial tilt at the epoch */
00037 #define PERIHELION 31316400    /* perihelion of 1999, 03 jan 13:00 UTC */
00038 #define SOLSTICE 836160        /* winter solstice of 1999, 22 Dec 07:44 UTC */
00039 #define TWO_PI 6.283185307179586
00040 #define TROP_CYCLE 5022440.6025
00041 #define ANOM_CYCLE 5022680.6082
00042 #define DELTA_V 0.03342044    /* 2x orbital eccentricity */
00043 
00044 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Defines