@@ -9,46 +9,30 @@ Resend: 3
9
9
Delay_ms: 30
10
10
11
11
Payload struct: 2,1,1
12
- EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4
12
+ EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4, WRAM=0x89
13
13
14
14
R default: ,EEPROM,0xC1
15
15
W default: n,,0x81
16
16
Write start: 0,0,0x8F
17
17
18
18
R: ID*=,ID
19
- R: FanOn=0x77,RAM,0xC1
20
- S: FanSet=,,0x40
21
- S: Lamp=,,0x20
22
- R: FanSpeed=0x76,RAM,0xC1
23
-
24
- R: CO2 level 1*2=4,,0xC2
25
- W: CO2 level 1=,4,0x82
26
- R: CO2 level 2*2=6,,0xC2
27
- W: CO2 level 2=,6,0x82
28
- R: CO2 level 3*2=8,,0xC2
29
- W: CO2 level 3=,8,0x82
30
-
31
- R: FanSpeed_1=19
32
- W: FanSpeed_1=,19
33
- R: FanSpeed_2=20
34
- W: FanSpeed_2=,20
35
- R: FanSpeed_3=21
36
- W: FanSpeed_3=,21
37
- R: FanCookSpeed_1=22
38
- W: FanCookSpeed_1=,22
39
- R: FanCookSpeed_2=23
40
- W: FanCookSpeed_2=,23
41
- R: FanCookSpeed_3=24
42
- W: FanCookSpeed_3=,24
43
-
44
- R: FanStartupTime=10
45
- W: FanStartupTime=,10
19
+
20
+ R: CO2 level*2[3]=i:4,,0xC2
21
+ W: CO2 level*2=,i:4,0x82
22
+
23
+ R: FanSpeed[3]=i:19
24
+ W: FanSpeed=,i:19
25
+ R: FanCookSpeed[3]=i:22
26
+ W: FanCookSpeed=,i:22
27
+
28
+ R: FanOnTime=10
29
+ W: FanOnTime=,10
46
30
47
31
R: FanOffTime=11
48
32
W: FanOffTime=,11
49
33
50
- R: FanCookStartupTime =12
51
- W: FanCookStartupTime =,12
34
+ R: FanCookOnTime =12
35
+ W: FanCookOnTime =,12
52
36
53
37
R: FanCookOffTime=13
54
38
W: FanCookOffTime=,13
@@ -59,17 +43,17 @@ W: FanSleep=,14
59
43
R: FanCookSleep=15
60
44
W: FanCookSleep=,15
61
45
62
- R: FanSpeedInitIdx =16
63
- W: FanSpeedInitIdx =,16
46
+ R: SpeedInitIdx =16
47
+ W: SpeedInitIdx =,16
64
48
65
- R: FanSpeedKey =17
66
- W: FanSpeedKey =,17
49
+ R: SpeedKeyIdx =17
50
+ W: SpeedKeyIdx =,17
67
51
68
52
R: IRRemotes=32
69
53
W: IRRemotes=,32
70
54
71
55
R: IRRemotesHash*2[80]=i:32#
72
- W: IRRemotesHash=,i:32
56
+ W: IRRemotesHash*2 =,i:32
73
57
74
58
R: OutPeriod=18
75
59
W: OutPeriod=,18
@@ -83,9 +67,24 @@ W: RxAddr=,2
83
67
R: Ch=3
84
68
W: Ch=,3
85
69
86
- R: OSCCAL=0x51,RAM
70
+ R: OSCCAL#=0x51,RAM
71
+ W: OSCCAL#=,0x51,WRAM
87
72
R: OSCCAL_EMEM=0
88
73
74
+ R: PORTA#=0x39,RAM
75
+ W: PORTA#=,0x3B,WRAM
76
+ R: PORTB#=0x36,RAM
77
+ W: PORTB#=,0x38,WRAM
78
+
79
+ R: LED Warning#=0x6C,RAM
80
+ W: LED Warning#=,0x6C,WRAM
81
+
82
+ R: FanOn=0x76,RAM
83
+ R: FanOnNext=0x74,RAM
84
+ R: FanOnNextCnt=0x72,RAM
85
+ R: FanOnLast=0x73,RAM
86
+ R: Fanspeed=0x75,RAM
87
+
89
88
W: Reset=,RESET,0xC1
90
89
91
90
S: Lamp=,0,0x40
@@ -102,13 +101,14 @@ SBatch: Fan Down: FanSpdDn=0
102
101
SBatch: Lamp On: Lamp=1
103
102
SBatch: Lamp Off: Lamp=0
104
103
105
- RBatch: Work: ID;CO2 level 1;CO2 level 2;CO2 level 3;FanCookSpeed_1;FanCookSpeed_2;FanCookSpeed_3;FanCookStartupTime; FanCookOffTime;FanCookSleep;FanSpeed_1;FanSpeed_2;FanSpeed_3;FanStartupTime ;FanOffTime;FanSleep
106
- RBatch: Hardware: ID;RxAddr;Ch;FanSpeedInitIdx ;Flags;OutPeriod;IRRemotes;OSCCAL_EMEM
107
- RBatch: All: ID;CO2 level 1;CO2 level 2;CO2 level 3;FanCookSpeed_1;FanCookSpeed_2;FanCookSpeed_3;FanCookStartupTime; FanCookOffTime;FanCookSleep;FanSpeed_1;FanSpeed_2;FanSpeed_3;FanStartupTime; FanOffTime;FanSleep;RxAddr;Ch;FanSpeedInitIdx ;Flags;OutPeriod;IRRemotes;IRRemotesHash
104
+ RBatch: Work: ID;CO2 level;FanCookSpeed;FanCookOnTime; FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime ;FanOffTime;FanSleep
105
+ RBatch: Hardware: ID;RxAddr;Ch;SpeedInitIdx ;Flags;OutPeriod;IRRemotes;OSCCAL_EMEM
106
+ RBatch: All: ID;CO2 level;FanCookSpeed;FanCookOnTime; FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime; FanOffTime;FanSleep;RxAddr;Ch;SpeedInitIdx ;Flags;OutPeriod;IRRemotes;IRRemotesHash
108
107
108
+ WBatch: Init(Cook2spd,Lamp-F2.2): RxAddr=0xC1;Ch=122;CO2 level={700,850,1000};FanSpeed={3,5,6};FanCookSpeed={3,6,12};FanSleep=20;FanCookSleep=6;FanOnTime=150;FanCookOnTime=2;FanOffTime=100;FanCookOffTime=0;SpeedInitIdx=0;SpeedKeyIdx=6;Flags=0x49;OutPeriod=6;IRRemotes=0
109
+ WBatch: LED Warning: LED Warning#=0x10
110
+ WBatch: PORTA: PORTA#=0x0C
111
+ WBatch: PORTB: PORTB#=0xC
112
+ WBatch: OSCCAL: OSCCAL#=128
113
+ WBatch: CO2 Level+Fan speed: CO2 level={700,850,1000};FanSpeed={3,5,6}
109
114
WBatch: Reset: Reset
110
-
111
- SBatch: SetSpeed: FanSet=1
112
- SBatch: Fan OFF: FanSet=0
113
- SBatch: Lamp ON: Lamp=1
114
- SBatch: Lamp OFF: Lamp=0
0 commit comments