File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ void runpayload() {
90
90
// SOFTserial.println(line);
91
91
// Serial.println(line);
92
92
String line = f.readStringUntil (' \n ' );
93
+ line.replace (" <" , " <" );
94
+ Serial.println (line);
95
+
93
96
String fullkeys = line;
94
97
int str_len = fullkeys.length ()+1 ;
95
98
char keyarray[str_len];
@@ -105,6 +108,7 @@ void runpayload() {
105
108
106
109
if (cmd == " Rem" ) {
107
110
cmdinput = String (strtok_r (NULL ," :" ,&i));
111
+ DelayLength = 1500 ;
108
112
}
109
113
110
114
else if (cmd == " DefaultDelay" ) {
@@ -118,13 +122,10 @@ void runpayload() {
118
122
cmdinput = String (strtok_r (NULL ," :" ,&i));
119
123
String customdelay = cmdinput;
120
124
custom_delay = customdelay.toInt ();
121
- delay ( custom_delay) ;
125
+ DelayLength = custom_delay;
122
126
// Serial.println(String()+"Custom delay set to:"+custom_delay);
123
127
}
124
128
// Serial.println(DelayLength);
125
- else {
126
- Serial.println (line);
127
- }
128
129
delay (DelayLength); // delay between lines in payload, I found running it slower works best
129
130
DelayLength = defaultdelay;
130
131
}
Original file line number Diff line number Diff line change 1
- String version = "2.3.5 " ;
1
+ String version = "2.3.6 " ;
2
2
String latestardversion = "2.1" ;
You can’t perform that action at this time.
0 commit comments