915 -> 868

This commit is contained in:
Daniel 2018-04-07 17:27:59 +02:00
parent 5a5986517c
commit 9981801c61
2 changed files with 3 additions and 6 deletions

View File

@ -7,7 +7,7 @@ void setup() {
Serial.println("LoRa Receiver");
if (!LoRa.begin(915E6)) {
if (!LoRa.begin(868E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
@ -17,9 +17,6 @@ void loop() {
// try to parse packet
int packetSize = LoRa.parsePacket();
if (packetSize) {
// received a packet
//Serial.print("Received packet '");
// read packet
while (LoRa.available()) {
Serial.print((char)LoRa.read());

View File

@ -10,7 +10,7 @@ void setup() {
Serial.println("LoRa Sender");
if (!LoRa.begin(915E6)) {
if (!LoRa.begin(868E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
@ -29,5 +29,5 @@ void loop() {
counter++;
delay(1000);
delay(5000);
}