[Morse] Added note about SX126x support

This commit is contained in:
jgromes 2019-05-18 13:30:12 +02:00
parent f0b9841cf6
commit a7f31973e2

View file

@ -1,14 +1,15 @@
/* /*
RadioLib Morse Transmit Example RadioLib Morse Transmit Example
This example sends Morse code message using This example sends Morse code message using
SX1278's FSK modem. SX1278's FSK modem.
Other modules that can be used for Morse: Other modules that can be used for Morse:
- SX1272/73/76/77/79 - SX127x/RFM9x
- RF69 - RF69
- SX1231 - SX1231
- CC1101 - CC1101
- SX126x
*/ */
// include the library // include the library
@ -65,7 +66,7 @@ void loop() {
// send start signal first // send start signal first
morse.startSignal(); morse.startSignal();
// Arduino String class // Arduino String class
String aStr = "Arduino String"; String aStr = "Arduino String";
morse.print(aStr); morse.print(aStr);
@ -75,7 +76,7 @@ void loop() {
// character // character
morse.print('c'); morse.print('c');
// byte // byte
// formatting DEC/HEX/OCT/BIN is supported for // formatting DEC/HEX/OCT/BIN is supported for
// any integer type (byte/int/long) // any integer type (byte/int/long)
@ -86,7 +87,7 @@ void loop() {
morse.print(i); morse.print(i);
// floating point number // floating point number
// NOTE: When using println(), the transmission will be // NOTE: When using println(), the transmission will be
// terminated with cross signal (.-.-.). // terminated with cross signal (.-.-.).
float f = -3.1415; float f = -3.1415;
morse.println(f, 3); morse.println(f, 3);