
; .r rotacia_kupoly_pre_mikroprocesor.pro

; JR, v.3, 2023/03/12

; 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 * 961 minutes of time if the solar summer solstice day =
           366 * 961= 351726 data when each is of the a3 format, i.e. the file
;          format is 351726a3=a1055178 = 1055179 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 
;          file='2023_dome_rotation_eng_data_ascii.dat'

; BYTE FILE:
;
; format - 1 line of: ndays * 961 minutes of time if the solar summer solstice day =
;          366 * 961 = 1055179 byte data, i.e. the file format is 1055179 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
;          file='2023_dome_rotation_eng_data_byte.dat'
