/*
* Globals.h
*
* Created: 30.11.2011 22:24:05
* Author: Zbynek
*/
#ifndef GLOBALS_H_
#define GLOBALS_H_
#define F_CPU 16E6
#define PERIODA_VYCITANI 1 // PERIODA_VYCITANI * 4 = perioda vycitani dat (s).
/************************************************************************/
/* Globalni promenne */
/************************************************************************/
unsigned char UTC_time[7];
unsigned char Status_GPS;
unsigned char Latitude[13]; // o jeden znak delsi, nez by bylo treba, ale na posledni misto se kopiruje znak konce stringu 0
unsigned char Longitude[14];
unsigned char Altitude[10];
unsigned char Datum[6];
char zacatek_zpravy;
unsigned char odesli_data_check; // data se vycitaji jen jednou za urcity interval, tato promenna rika, ze nastal cas pro vycteni a odeslani dat
volatile unsigned char pocet_prubehu_casovace; // kolikrat se spusti casovac, nez se odeslou data
#endif /* GLOBALS_H_ */