Line 1... |
Line 1... |
1 |
/**** Automatic weather station 01A ****/ |
1 |
/**** Automatic weather station 01A ****/ |
2 |
#define VERSION "0.1" |
2 |
#define VERSION "0.1" |
3 |
#define ID "$Id: main.c 2827 2013-03-10 15:45:11Z kaklik $" |
3 |
#define ID "$Id: main.c 2828 2013-03-10 15:49:54Z kaklik $" |
4 |
#include "main.h" |
4 |
#include "main.h" |
- |
|
5 |
#include ".\common\dbloader.h" |
5 |
#include <string.h> |
6 |
#include <string.h> |
6 |
|
7 |
|
7 |
#CASE // Case sensitive compiler |
8 |
#CASE // Case sensitive compiler |
8 |
|
9 |
|
9 |
#define SEND_DELAY 50 // Time between two characters on RS232 |
10 |
#define SEND_DELAY 50 // Time between two characters on RS232 |
Line 127... |
Line 128... |
127 |
//---WDT |
128 |
//---WDT |
128 |
restart_wdt(); |
129 |
restart_wdt(); |
129 |
seq++; // Increment the number of measurement |
130 |
seq++; // Increment the number of measurement |
130 |
} |
131 |
} |
131 |
} |
132 |
} |
132 |
#include ".\common\dbloader.h" |
- |
|
133 |
//#include "dbloader.c" // Space reservation for the BootLoader |
- |
|
- |
|
133 |
|