add M0 and M1 pin and change serial pins

This commit is contained in:
smayzy
2026-05-18 16:53:31 +02:00
parent 446757cf88
commit a2adcf7afd
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
#include <SoftwareSerial.h>
SoftwareSerial lora(8, 9); // RX, TX
SoftwareSerial lora(10, 9); // RX, TX
bool test_with_fake = false;
@@ -9,6 +9,10 @@ String line = "";
void setup() {
Serial.begin(115200);
lora.begin(9600);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
digitalWrite(11, LOW); // M1
digitalWrite(12, LOW); // M0
}
void loop() {