Änderungen

Zeile 30: Zeile 30:  
and you can download it [http://www.psa.es/sdg/sunpos.htm here] as C++ code.  
 
and you can download it [http://www.psa.es/sdg/sunpos.htm here] as C++ code.  
 
There are adaptions neccessary for Arduino, though.  
 
There are adaptions neccessary for Arduino, though.  
The formulas for calculating the [http://en.wikipedia.org/wiki/Julian_day Juliand Day]  
+
The formulas for calculating the [http://en.wikipedia.org/wiki/Julian_day Julian Day]  
 
are not working properly on Arduino due to reduced double precision.
 
are not working properly on Arduino due to reduced double precision.
 
Therefore, I have adapted them, expecting only Julians dates starting from 1.Jan. 2000.
 
Therefore, I have adapted them, expecting only Julians dates starting from 1.Jan. 2000.
229

Bearbeitungen