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