Ver código fonte

Add definitions of the IRQ pin to the nrf24l01

Bernd Gottschlag 5 anos atrás
pai
commit
f7bfdf101c
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      weather-sensor/firmware/nrf24l01.h

+ 4
- 0
weather-sensor/firmware/nrf24l01.h Ver arquivo

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);

Carregando…
Cancelar
Salvar