[E44-TTL-100] Lora Sender Sketch with Ardunio UNO


#1

Hello I’m using a E44-TTL-100Lora EByte that I have connected to my Arduino UNO
I can receive data no worries with my receiver sketch. I was wondering how do I create a sender sketch that sends the word Hello world?

this is my receiver sketch

#include <SoftwareSerial.h>

#define TX 3
#define RX 2
#define M0 13
#define M1 12

SoftwareSerial mySerial(TX,RX);
void setup() {
Serial.begin(9600);
mySerial.begin(9600);

pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);

digitalWrite(M0,LOW);
digitalWrite(M1,LOW);

}

void loop() {
if (Serial.available() > 0){
String input = Serial.readString();
mySerial.println(input);
}
if (mySerial.available() >0){
String input = mySerial.readString();
Serial.println(input);
}
delay(20);
}