initialyse string

This commit is contained in:
smayzy 2026-05-17 19:20:21 +02:00
parent b7fde78367
commit 446757cf88
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ SoftwareSerial lora(8, 9); // RX, TX
float tens = 0; float tens = 0;
float amp = 0; float amp = 0;
String line; String line = "";
void setup() { void setup() {
lora.begin(9600); lora.begin(9600);

View File

@ -4,7 +4,7 @@ SoftwareSerial lora(8, 9); // RX, TX
bool test_with_fake = false; bool test_with_fake = false;
String line; String line = "";
void setup() { void setup() {
Serial.begin(115200); Serial.begin(115200);