SX1261 and sx1262 common library

Dependents:   SX126xDevKit SX1262PingPong SX126X_TXonly SX126X_PingPong_Demo ... more

Fork of SX126xLib by Gregory Cristian

Revision:
6:1e2345700991
Parent:
5:e488e6f185f3
--- a/sx126x-hal.h	Fri Mar 09 13:19:45 2018 +0000
+++ b/sx126x-hal.h	Wed Jul 18 13:33:42 2018 +0000
@@ -139,7 +139,7 @@
     /*!
      * \brief Returns the device type
      *
-     * \retval      1: SX1261, 0: sx1262
+     * \retval      0: SX1261, 1: SX1262, 2: SX1268
      */
     virtual uint8_t GetDeviceType( void );
 
@@ -171,8 +171,8 @@
     InterruptIn *DIO1;                              //!< The pin connected to DIO1
     InterruptIn *DIO2;                              //!< The pin connected to DIO2
     InterruptIn *DIO3;                              //!< The pin connected to DIO3
-    DigitalIn    FreqSelect;                        //!< The pin connected to a pull-up/down to select Frequency of the matching
-    DigitalIn    DeviceSelect;                      //!< The pin connected to a pull-up/down to select device
+    AnalogIn     FreqSelect;                        //!< The pin connected to a pull-up/down to select Frequency of the matching
+    AnalogIn     DeviceSelect;                      //!< The pin connected to a pull-up/down to select device
     DigitalOut   antSwitchPower;                    //!< The pin connected to the RF Switch Power
 
     /*!