Procházet zdrojové kódy

Add definitions of the IRQ pin to the nrf24l01

Bernd Gottschlag před 5 roky
rodič
revize
f7bfdf101c
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4
    0
      weather-sensor/firmware/nrf24l01.h

+ 4
- 0
weather-sensor/firmware/nrf24l01.h Zobrazit soubor

@@ -12,6 +12,10 @@
12 12
 #define NRF_CSN_PORT  PORTD
13 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 19
 void Initialize_NRF24L01(void);
16 20
 void Set_NRF24L01_Pins(void);
17 21
 void Configure_Transmission(void);

Loading…
Zrušit
Uložit