From ff6e87a0dd03943134652ad742248f8d853af4a2 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 2 Jun 2019 15:03:02 +0200 Subject: [PATCH] [RTTY] Updated examples --- examples/RTTY/RTTY_Transmit/RTTY_Transmit.ino | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/examples/RTTY/RTTY_Transmit/RTTY_Transmit.ino b/examples/RTTY/RTTY_Transmit/RTTY_Transmit.ino index e1e9572e..3b7b799c 100644 --- a/examples/RTTY/RTTY_Transmit/RTTY_Transmit.ino +++ b/examples/RTTY/RTTY_Transmit/RTTY_Transmit.ino @@ -10,13 +10,24 @@ - SX1231 - CC1101 - SX126x + - nRF24 + + For full API reference, see the GitHub Pages + https://jgromes.github.io/RadioLib/ */ // include the library #include -// SX1278 module is in slot A on the shield -SX1278 fsk = RadioShield.ModuleA; +// SX1278 has the following connections: +// NSS pin: 10 +// DIO0 pin: 2 +// DIO1 pin: 3 +SX1278 fsk = new Module(10, 2, 3); + +// or using RadioShield +// https://github.com/jgromes/RadioShield +//SX1278 fsk = RadioShield.ModuleA; // create RTTY client instance using the FSK module RTTYClient rtty(&fsk);