From 7295e9731e1184485c1b5dd45d1b05f55f2efb06 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 27 Nov 2022 20:47:18 +0100 Subject: [PATCH] [Pager] Fixed default example pins --- examples/Pager/Pager_Receive/Pager_Receive.ino | 4 ++-- examples/Pager/Pager_Transmit/Pager_Transmit.ino | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/Pager/Pager_Receive/Pager_Receive.ino b/examples/Pager/Pager_Receive/Pager_Receive.ino index 3daec5b0..f2ecb9ae 100644 --- a/examples/Pager/Pager_Receive/Pager_Receive.ino +++ b/examples/Pager/Pager_Receive/Pager_Receive.ino @@ -29,10 +29,10 @@ // DIO0 pin: 2 // RESET pin: 9 // DIO1 pin: 3 -SX1278 radio = new Module(5, 2, 9, 3); +SX1278 radio = new Module(10, 2, 9, 3); // DIO2 pin: 5 -const int pin = 4; +const int pin = 5; // create Pager client instance using the FSK module PagerClient pager(&radio); diff --git a/examples/Pager/Pager_Transmit/Pager_Transmit.ino b/examples/Pager/Pager_Transmit/Pager_Transmit.ino index c9c3ad1c..d23452d4 100644 --- a/examples/Pager/Pager_Transmit/Pager_Transmit.ino +++ b/examples/Pager/Pager_Transmit/Pager_Transmit.ino @@ -29,7 +29,7 @@ // DIO0 pin: 2 // RESET pin: 9 // DIO1 pin: 3 -SX1278 radio = new Module(5, 2, 9, 3); +SX1278 radio = new Module(10, 2, 9, 3); // or using RadioShield // https://github.com/jgromes/RadioShield @@ -77,9 +77,9 @@ void loop() { // the simples form of "message" is just a tone on the destination pager int state = pager.sendTone(1234567); delay(500); - + // next, transmit numeric (BCD) message to the destination pager - // NOTE: Only characters 0123456789*U-() and space + // NOTE: Only characters 0123456789*U-() and space // can be sent in a BCD message! state |= pager.transmit("0123456789*U -()", 1234567); delay(500); @@ -89,7 +89,7 @@ void loop() { delay(500); // we can also send only a tone - + if(state == RADIOLIB_ERR_NONE) { Serial.println(F("success!")); } else {