-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogging.h
More file actions
36 lines (29 loc) · 758 Bytes
/
Logging.h
File metadata and controls
36 lines (29 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Logging.h
*
* Created on: Jan 15, 2011
* Author: Andy
*/
#ifndef LOGGING_H_
#define LOGGING_H_
#include "WProgram.h" //Include arduino headers
#include "EEPROM/EEPROM.h"
#include "globals.h"
#include "Time.h"
#include "SD/SD.h"
#include "SerialLCD.h"
#include "Networking.h"
void InitializeLogging();
void WriteStartAddress(uint16_t startingAddress);
void DisplayEEProm();
void ResetEEProm();
void LogTemp(uint8_t sensor, uint16_t kelvInt);
void PrintTime();
void LogLine(int val);
void LogLine(char * msg, int len);
void Log(char * msg, int len);
void SendMsgToServer (char * msg);
// seconds between temp Logs
#define TEMP_LOGGING_INTERVAL 300
static int currentEEAddress;
#endif /* LOGGING_H_ */