
; .r rotacia_kupoly_pre_mikroprocesor.pro

; JR, v.2, 2015/02/08

; program na vypocet azimutu Slnka pocas jednotlivych dni roka
; pre vypocet parametrov pre rotaciu kupoly LSO

; vystup - subor udajov s kodovanou informaciou o casovom intervale
;          po ktorom treba kupolu pohnut o 1 stupen, t.j. o 5.74213 cm
;          na obvode kupoly

; ASCII FILE:
;
; format - 1 line of: ndays * (256 azimuth positions = 366 * 256
;          = 93696 data when each if of the a3 format, i.e. the file
;          format is 93696a3=a281088 = 281088 bytes + ENDFILE mark
;          example: 000000000000234212....
;          000 means no motion (Sun is below the horizon)
;          234 means 234 * scale_factor [s] after which the dome
;          should move toward W for 1 angular degree, i.e. 5.74213 cm
;
;          scale_factor      2 second/arbitrary 8bit unit
;          file='2015_dome_rotation_eng_data_ascii.dat'

; BYTE FILE:
;
; format - 1 line of: ndays * (256 azimuth positions = 366 * 256
;          = 93696 byte data, i.e. the file format is 93696 bytes
;            0 means no motion (Sun is below the horizon)
;          234 means 234 * scale_factor [s] after which the dome
;          should move toward W for 1 angular degree, i.e. 5.74213 cm
;
;          scale_factor      2 second/arbitrary 8bit unit
;          file='2015_dome_rotation_eng_data_byte.dat'
