Skip to content

Commit ee52e05

Browse files
committed
refactoring *.txt
1 parent 6f56ab4 commit ee52e05

File tree

3 files changed

+86
-86
lines changed

3 files changed

+86
-86
lines changed

Distr/nrf24batch/CO2_mini.txt

+17-17
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ Delay_ms: 30
1010
ReadCmd repeat: 3
1111

1212
Payload struct: 2,1,1
13-
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4; WRAM=0x89
13+
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0
1414

15-
R default: ,EEPROM,0xC1
16-
W default: n,,0x81
17-
Write start: 0,0,0x8F
15+
R default: ,,ROM
16+
W default: n,,WROM
17+
Write start: 0,0,0x2F
1818

1919
Listen: C8C8C1=CO2,Alarm,-
2020

21-
R: ID*=,ID
21+
R: ID*=,0,0x65
2222

23-
R: _CO2*2=0x6C,RAM,0xC2
24-
R: _PORTA=0x39,RAM
23+
R: _CO2*2=0x6C,,RAM2
24+
R: _PORTA=0x39,,RAM
2525
W: _PORTA=,0x3B,WRAM
26-
R: _PORTB=0x36,RAM
26+
R: _PORTB=0x36,,RAM
2727
W: _PORTB=,0x38,WRAM
28-
R: _OSCCAL=0x51,RAM
28+
R: _OSCCAL=0x51,,RAM
2929
W: _OSCCAL=,0x51,WRAM
3030
R: OSCCAL_EMEM=0
3131

@@ -41,11 +41,11 @@ W: nRF RETR=,3
4141
R: Send period=4
4242
W: Send period=,4
4343

44-
R: CO2 threshold*2=5,,0xC2
45-
W: CO2 threshold=,5,0x82
44+
R: CO2 threshold*2=5,,ROM2
45+
W: CO2 threshold=,5,WROM2
4646

47-
R: CO2 correct*2=7,,0xC2
48-
W: CO2 correct*2=,7,0x82
47+
R: CO2 correct*2=7,,ROM2
48+
W: CO2 correct*2=,7,WROM2
4949

5050
R: FanLSB[10]=i:9#
5151
W: FanLSB=,i:9
@@ -56,20 +56,20 @@ W: Transmit pause=,19
5656
R: Flags=20#
5757
W: Flags=,20
5858

59-
W: Reset=,RESET,0xC1
59+
W: Reset=0xEEEE,14,SET
6060

61-
R: _LED Warning=0x74,RAM
61+
R: _LED Warning=0x74,,RAM
6262
W: _LED Warning=,0x74,WRAM
6363

64-
S: LED=,0,0x40
64+
S: LED=,0,SET
6565

6666
SBatch: LED On: LED=1
6767
SBatch: LED Off: LED=0
6868

6969
RBatch: Settings: ID;RxAddr;Ch;Send period;CO2 threshold;CO2 correct;FanLSB;nRF RETR;Transmit pause;Flags
7070

7171
WBatch: Default: RxAddr=0xCF;Ch=122;Send period=30;CO2 threshold=1000;CO2 correct=0;FanLSB={0xC1,0,0,0,0,0,0,0};nRF RETR=0x3;Transmit pause=1;Flags=0;Reset
72-
WBatch: CO2: CO2 threshold=1000;CO2 correct=0
72+
WBatch: CO2: Send period=60;CO2 threshold=1000;CO2 correct=0
7373
WBatch: Fan: FanLSB={0xC1,0,0,0,0,0,0,0,0,0};Reset
7474
WBatch: RETR: nRF RETR=0x2F;Reset
7575
WBatch: Transmit pause: Transmit pause=30

Distr/nrf24batch/Kitchen Vent Dimmer.txt

+42-42
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Resend: 3
99
Delay_ms: 30
1010

1111
Payload struct: 2,1,1
12-
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4; WRAM=0x89; R1=0xC1; R2=0xC2; W1=0x81; W2=0x82
12+
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0
1313

14-
R default: ,EEPROM,R1
15-
W default: n,,W1
16-
Write start: 0,0,0x8F
14+
R default: ,,ROM
15+
W default: n,,WROM
16+
Write start: 0,0,0x2F
1717

18-
R: ID*=,ID
18+
R: ID*=,0,0x65
1919

20-
R: CO2 level*2[3]=i:4,,R2
21-
W: CO2 level*2=,i:4,W2
20+
R: CO2 level*2[3]=i:4,,ROM2
21+
W: CO2 level*2=,i:4,WROM2
2222

2323
R: Fan speeds=25
2424
W: Fan speeds=,25
@@ -56,19 +56,19 @@ W: SpeedKeyIdx=,17
5656
R: OutSpeedMax=18
5757
W: OutSpeedMax=,18
5858

59-
R: ZeroCrossLag,us*2=27,,R2
60-
W: ZeroCrossLag,us=,27,W2
61-
R: SSR_PulseWidth,us*2=29,,R2
62-
W: SSR_PulseWidth,us=,29,W2
59+
R: ZeroCrossLag,us*2=27,,ROM2
60+
W: ZeroCrossLag,us=,27,WROM2
61+
R: SSR_PulseWidth,us*2=29,,ROM2
62+
W: SSR_PulseWidth,us=,29,WROM2
6363

6464
R: PauseSetByCO2,min=31
6565
W: PauseSetByCO2,min=,31
6666

6767
R: IRRemotes=32
6868
W: IRRemotes=,32
6969

70-
R: IRRemotesHash*2[70]=i:33,,R2#
71-
W: IRRemotesHash*2=,i:33,W2
70+
R: IRRemotesHash*2[70]=i:33,,ROM2#
71+
W: IRRemotesHash*2=,i:33,WROM2
7272

7373
R: Flags=1#
7474
W: Flags=,1
@@ -80,40 +80,40 @@ R: Ch=3
8080
W: Ch=,3
8181

8282
R: OSCCAL_EMEM=0
83-
R: _OSCCAL=0x51,RAM
84-
W: _OSCCAL=,0x51,WRAM
85-
R: _PORTA=0x39,RAM
86-
W: _PORTA=,0x3B,WRAM
87-
R: _PORTB=0x36,RAM
83+
R: _OSCCAL=0x51,,RAM
84+
W: _OSCCAL=,0x51,,WRAM
85+
R: _PORTA=0x39,,RAM
86+
W: _PORTA=,0x3B,,WRAM
87+
R: _PORTB=0x36,,RAM
8888
W: _PORTB=,0x38,WRAM
8989

90-
R: _Fanspeed=0x75,RAM
91-
R: _FanOn=0x76,RAM
92-
R: _FanOnNext=0x74,RAM
93-
R: _FanOnNextCnt=0x72,RAM
94-
R: _FanOnLast=0x73,RAM
95-
R: _IRHashLast*2=0x7C,RAM,R2#
96-
R: _SleepTimer=0x84,RAM
90+
R: _Fanspeed=0x75,,RAM
91+
R: _FanOn=0x76,,RAM
92+
R: _FanOnNext=0x74,,RAM
93+
R: _FanOnNextCnt=0x72,,RAM
94+
R: _FanOnLast=0x73,,RAM
95+
R: _IRHashLast*2=0x7C,,RAM2#
96+
R: _SleepTimer=0x84,,RAM
9797

98-
R: _OutSpeedMax=0x87,RAM
98+
R: _OutSpeedMax=0x87,,RAM
9999
W: _OutSpeedMax=,0x87,WRAM
100-
R: _LED_Warning=0x6B,RAM
100+
R: _LED_Warning=0x6B,,RAM
101101
W: _LED_Warning=,0x6B,WRAM
102-
R: _ZeroCrossDelay*2=0x8E,RAM,R2
103-
W: _ZeroCrossDelay*2=,0x8E,WRAM,W2
104-
R: _PulseDelayAfterZero*2=0x9A,RAM,R2
105-
W: _PulseDelayAfterZero=,0x9A,WRAM,W2
106-
R: _PulseWidth*2=0x8C,RAM,R2
107-
W: _PulseWidth*2=,0x8C,WRAM,W2
108-
109-
W: Reset=,RESET,0xC1
110-
111-
S: Lamp=,0,0x40
112-
S: Fan=,1,0x40
113-
S: FanSpdUp=,2,0x40
114-
S: FanSpdDn=,3,0x40
115-
S: FanSpdSave=,4,0x40
116-
S: SetupIR=,5,0x40
102+
R: _ZeroCrossDelay*2=0x8E,,RAM2
103+
W: _ZeroCrossDelay*2=,0x8E,WRAM2
104+
R: _PulseDelayAfterZero*2=0x9A,,RAM2
105+
W: _PulseDelayAfterZero*2=,0x9A,WRAM2
106+
R: _PulseWidth*2=0x8C,,RAM
107+
W: _PulseWidth*2=,0x8C,WRAM2
108+
109+
W: Reset=0xEEEE,14,SET
110+
111+
S: Lamp=,0,SET
112+
S: Fan=,1,SET
113+
S: FanSpdUp=,2,SET
114+
S: FanSpdDn=,3,SET
115+
S: FanSpdSave=,4,SET
116+
S: SetupIR=,5,SET
117117

118118
SBatch: Fan Cooker Max: Fan=6
119119
SBatch: Fan Cooker Min: Fan=4

Distr/nrf24batch/Kitchen Vent.txt

+27-27
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Resend: 3
99
Delay_ms: 30
1010

1111
Payload struct: 2,1,1
12-
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4; WRAM=0x89; R1=0xC1; R2=0xC2; W1=0x81; W2=0x82
12+
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0
1313

14-
R default: ,EEPROM,R1
15-
W default: n,,W1
16-
Write start: 0,0,0x8F
14+
R default: ,,ROM
15+
W default: n,,WROM
16+
Write start: 0,0,0x2F
1717

18-
R: ID*=,ID
18+
R: ID*=,0,0x65
1919

20-
R: CO2 level*2[3]=i:4,,R2
21-
W: CO2 level*2=,i:4,W2
20+
R: CO2 level*2[3]=i:4,,ROM2
21+
W: CO2 level*2=,i:4,WROM2
2222

2323
R: Fan speeds=25
2424
W: Fan speeds=,25
@@ -56,8 +56,8 @@ W: SpeedKeyIdx=,17
5656
R: IRRemotes=32
5757
W: IRRemotes=,32
5858

59-
R: IRRemotesHash*2[70]=i:33,,R2#
60-
W: IRRemotesHash*2=,i:33,W2
59+
R: IRRemotesHash*2[70]=i:33,,ROM2#
60+
W: IRRemotesHash*2=,i:33,WROM2
6161

6262
R: OutPeriod=18
6363
W: OutPeriod=,18
@@ -72,35 +72,35 @@ R: Ch=3
7272
W: Ch=,3
7373

7474
R: OSCCAL_EMEM=0
75-
R: _OSCCAL=0x51,RAM
75+
R: _OSCCAL=0x51,,RAM
7676
W: _OSCCAL=,0x51,WRAM
7777

78-
R: _PORTA=0x39,RAM
78+
R: _PORTA=0x39,,RAM
7979
W: _PORTA=,0x3B,WRAM
80-
R: _PORTB=0x36,RAM
80+
R: _PORTB=0x36,,RAM
8181
W: _PORTB=,0x38,WRAM
8282

83-
R: _OutPeriod=0x8B,RAM
83+
R: _OutPeriod=0x8B,,RAM
8484
W: _OutPeriod=,0x8B,WRAM
8585

86-
R: _Fanspeed=0x74,RAM
87-
R: _FanOn=0x75,RAM
88-
R: _FanOnNext=0x73,RAM
89-
R: _FanOnNextCnt=0x71,RAM
90-
R: _FanOnLast=0x72,RAM
91-
R: _IRHashLast*2=0x79,RAM,R2#
86+
R: _Fanspeed=0x74,,RAM
87+
R: _FanOn=0x75,,RAM
88+
R: _FanOnNext=0x73,,RAM
89+
R: _FanOnNextCnt=0x71,,RAM
90+
R: _FanOnLast=0x72,,RAM
91+
R: _IRHashLast*2=0x79,,RAM2#
9292

93-
R: _LED Warning=0x6B,RAM
93+
R: _LED Warning=0x6B,,RAM
9494
W: _LED Warning=,0x6B,WRAM
9595

96-
W: Reset=,RESET,0xC1
96+
W: Reset=0xEEEE,14,SET
9797

98-
S: Lamp=,0,0x40
99-
S: Fan=,1,0x40
100-
S: FanSpdUp=,2,0x40
101-
S: FanSpdDn=,3,0x40
102-
S: FanSpdSave=,4,0x40
103-
S: SetupIR=,5,0x40
98+
S: Lamp=,0,SET
99+
S: Fan=,1,SET
100+
S: FanSpdUp=,2,SET
101+
S: FanSpdDn=,3,SET
102+
S: FanSpdSave=,4,SET
103+
S: SetupIR=,5,SET
104104

105105
SBatch: Fan Cooker On: Fan=6
106106
SBatch: Fan On: Fan=3

0 commit comments

Comments
 (0)