forked from stuartpittaway/WebastoHeaterWBusArduinoInterface
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.h
85 lines (68 loc) · 2.99 KB
/
constants.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
WebastoHeaterWBusArduinoInterface
Copyright 2015 Stuart Pittaway
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#define PROGMEMLABEL(label,value) const char PROGMEM label[] = value;
//Version info page
//PROGMEMLABEL(label_WBUSVer,"WBus ver\n")
//PROGMEMLABEL(label_WBusCode,"\nWBus code\n")
//PROGMEMLABEL(label_DatasetIDNo,"\nDataset\n")
//PROGMEMLABEL(label_SoftwareIDNo,"SW\n")
//PROGMEMLABEL(label_HWVersion,"HW ver\n")
//PROGMEMLABEL(label_SoftwareVersion,"SW ver\n")
//PROGMEMLABEL(label_SoftwareVersionEEPROM,"\nSW ver EEPROM\n")
//Heater info page
PROGMEMLABEL(label_DeviceName,"Name\n")
PROGMEMLABEL(label_DeviceIDNo,"\nDevice id\n")
PROGMEMLABEL(label_DateOfManufactureHeater,"\nDate heater\n")
PROGMEMLABEL(label_CustomerIdentificationNumber,"\nCust id\n")
PROGMEMLABEL(label_SerialNumber,"\nSerial\n")
PROGMEMLABEL(label_DateOfManufactureControlUnit,"\nDate ctrl unit\n")
//PROGMEMLABEL(label_Unknown,"? ")
//PROGMEMLABEL(label_Mon,"Mon ")
//PROGMEMLABEL(label_Tue,"Tue ")
//PROGMEMLABEL(label_Wed,"Wed ")
//PROGMEMLABEL(label_Thu,"Thu ")
//PROGMEMLABEL(label_Fri,"Fri ")
//PROGMEMLABEL(label_Sat,"Sat ")
//PROGMEMLABEL(label_Sun,"Sun ")
//const char* const weekdays_table[] PROGMEM = {label_Unknown, label_Mon, label_Tue, label_Wed, label_Thu, label_Fri,label_Sat };
PROGMEMLABEL(label_ErrorCount,"Fault:")
/* Fault screen */
//PROGMEMLABEL(label_Code,"Code:")
//PROGMEMLABEL(label_Flag,"\nFlag:")
//PROGMEMLABEL(label_Counter,"\nC:")
//PROGMEMLABEL(label_OperatingState,"\nOp state:")
//PROGMEMLABEL(label_Temperature,"Temp:")
//PROGMEMLABEL(label_SupplyVoltage," C\nSupply V:")
PROGMEMLABEL(label_OperatingTime,"\nTime:")
PROGMEMLABEL(label_wbusError,"Err 0x")
PROGMEMLABEL(label_NoFaultsFound,"No fault found")
PROGMEMLABEL(label_FaultsCleared,"Faults cleared")
PROGMEMLABEL(label_Dev, "Dev:")
PROGMEMLABEL(label_op, "Op:")
PROGMEMLABEL(label_N, " N:")
PROGMEMLABEL(label_threespaces," ")
/* Menu Options */
PROGMEMLABEL(label_menu_shheaton, "Heat On")
PROGMEMLABEL(label_menu_shheatoff, "Heat Off")
PROGMEMLABEL(label_menu_settimer, "Set timer")
PROGMEMLABEL(label_menu_heaterinfo, "Heater info")
PROGMEMLABEL(label_menu_versioninfo, "Version info")
PROGMEMLABEL(label_menu_showfaults, "Show faults")
PROGMEMLABEL(label_menu_clearfaults, "Clear faults")
PROGMEMLABEL(label_menu_setdatetime, "Set date/time")
PROGMEMLABEL(label_menu_fuelprime, "Fuel prime")
//PROGMEMLABEL(label_shheater, "Heat ")
//PROGMEMLABEL(label_on, "On")
//PROGMEMLABEL(label_off, "Off")
PROGMEMLABEL(label_fuelprime, "Prime started")