[Morse] Updated examples

pull/38/head
jgromes 2019-06-02 15:02:45 +02:00
rodzic 659f1ab91c
commit 8fbfb68749
1 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -16,8 +16,15 @@
// include the library
#include <RadioLib.h>
// 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 Morse client instance using the FSK module
MorseClient morse(&fsk);