Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // -------------------------------------------------------------------------------------------------- //
- // S T R U K T U R A C Z A S / T I M E S T R U C T U R E --- //
- // -------------------------------------------------------------------------------------------------- //
- struct datatime //
- { //
- String SformatowanaData; // formated data ------------- //
- int DzienTygodnia; // day of week --------------- //
- int DzienMiesiaca; // day of month -------------- //
- int Miesiac; // month --------------------- //
- int Rok; // year ---------------------- //
- String SformatowanyCzas; // formated time ------------- //
- int Godzina; // hour ---------------------- //
- int Minuta; // minute -------------------- //
- int Sekunda; // seconds ------------------- //
- char wschod_slonca[10]; // sunrise ------------------- //
- char zachod_slonca[10]; // sunset -------------------- //
- } czas; // time object --------------- //
- //
- // -------------------------------------------------------------------------------------------------- //
- // S T R U K T U R A P O G O D A --- //
- // -------------------------------------------------------------------------------------------------- //
- struct weather //
- { //
- double temperatura; // temperature / temperatura - //
- double temperatura_minimalna; // min. temp ----------------- //
- double temperatura_maksymalna; // max. temp ----------------- //
- double temperatura_odczuwalna; // feels temp ---------------- //
- int cisnienie; // cisnienie powietrza ------- //
- int wilgotnosc; // wilgotnosc powietrza ------ //
- int wiatr; // wiatr / wind speed -------- //
- int zachmurzenie; // zachmurzenie / cloudys ---- //
- long widzialnosc; // widzialnosc / visible ----- //
- } pogoda; // weather object ------------ //
- //
- double backup_temperatura [24]; // przechowuje temperatury zczytane z serwera
- byte indx_temp = 0; // licznik aktualnej liczby danych w backup_temperatura
Advertisement
Add Comment
Please, Sign In to add comment