Sfoglia il codice sorgente

Add definitions of the IRQ pin to the nrf24l01

Bernd Gottschlag 5 anni fa
parent
commit
f7bfdf101c
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      weather-sensor/firmware/nrf24l01.h

+ 4
- 0
weather-sensor/firmware/nrf24l01.h Vedi File

12
 #define NRF_CSN_PORT  PORTD
12
 #define NRF_CSN_PORT  PORTD
13
 #define NRF_CSN_PIN   PD6
13
 #define NRF_CSN_PIN   PD6
14
 
14
 
15
+#define NRF_IRQ_DDR   DDRD
16
+#define NRF_IRQ_PORT  PORTD
17
+#define NRF_IRQ_PIN   PD5
18
+
15
 void Initialize_NRF24L01(void);
19
 void Initialize_NRF24L01(void);
16
 void Set_NRF24L01_Pins(void);
20
 void Set_NRF24L01_Pins(void);
17
 void Configure_Transmission(void);
21
 void Configure_Transmission(void);

Loading…
Annulla
Salva