浏览代码

Add definitions of the IRQ pin to the nrf24l01

Bernd Gottschlag 5 年前
父节点
当前提交
f7bfdf101c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      weather-sensor/firmware/nrf24l01.h

+ 4
- 0
weather-sensor/firmware/nrf24l01.h 查看文件

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

正在加载...
取消
保存