File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1717#define  LORA_MOSI  27    // GPIO27 - SX1276 MOSI
1818#define  LORA_CS  17      // GPIO17 - SX1276 CS
1919#define  LORA_RST  18     // GPIO18 - SX1276 RST
20- #define  LORA_IO0  23     // GPIO23 - SX1276 IO0
21- #define  LORA_IO1  23     // GPIO23 - SX1276 IO1 tied by diode to IO0
22- #define  LORA_IO2  23     // GPIO23 - SX1276 IO2 tied by diode to IO0
20+ #define  LORA_IRQ  23     // GPIO23 - SX1276 IO0
21+ #define  LORA_IO0  LORA_IRQ  // alias
22+ #define  LORA_IO1  LORA_IRQ  // tied by diode to IO0
23+ #define  LORA_IO2  LORA_IRQ  // tied by diode to IO0
2324
2425static  const  uint8_t  LED_BUILTIN  =  0 ; // ->2812 RGB !!! 
2526#define  BUILTIN_LED   LED_BUILTIN // backward compatibility
Original file line number Diff line number Diff line change 1616#define  LORA_MISO  19    // GPIO19 - SX1276 MISO
1717#define  LORA_MOSI  27    // GPIO27 - SX1276 MOSI
1818#define  LORA_CS  18      // GPIO18 - SX1276 CS
19- #define  LORA_IO0  23     // GPIO23 - SX1276 IO0
20- #define  LORA_IO1  23     // GPIO23 - SX1276 IO1 tied by diode to IO0
21- #define  LORA_IO2  23     // GPIO23 - SX1276 IO2 tied by diode to IO0
19+ #define  LORA_IRQ  23     // GPIO23 - SX1276 IO0
20+ #define  LORA_IO0  LORA_IRQ  // alias
21+ #define  LORA_IO1  LORA_IRQ   // tied by diode to IO0
22+ #define  LORA_IO2  LORA_IRQ   // tied by diode to IO0
23+ #define  LORA_RST  NOT_A_PIN
2224
2325static  const  uint8_t  LED_BUILTIN  =  0 ; // ->2812 RGB !!! 
2426#define  BUILTIN_LED   LED_BUILTIN // backward compatibility
@@ -31,6 +33,7 @@ static const uint8_t RX = 3;
3133static  const  uint8_t  SDA  =  12 ;
3234static  const  uint8_t  SCL  =  13 ;
3335
36+ static  const  uint8_t  SS     =  18 ;
3437static  const  uint8_t  MOSI   =  22 ;
3538static  const  uint8_t  MISO   =  37 ;
3639static  const  uint8_t  SCK    =  13 ;
Original file line number Diff line number Diff line change 1717#define  LORA_MOSI  27    // GPIO27 - SX1276 MOSI
1818#define  LORA_CS  18      // GPIO18 - SX1276 CS
1919#define  LORA_RST  23     // GPIO23 - SX1276 RST
20- #define  LORA_IO0  26     // GPIO26 - SX1276 IO0
20+ #define  LORA_IRQ  26     // GPIO26 - SX1276 IO0
21+ #define  LORA_IO0  LORA_IRQ  // alias
2122#define  LORA_IO1  33     // GPIO33 - SX1276 IO1
2223#define  LORA_IO2  32     // GPIO32 - SX1276 IO2
2324
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments