Ver código fonte

Fix pin definitions of the interface to the nrf24l01

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

+ 2
- 2
weather-sensor/firmware/nrf24l01.h Ver arquivo

6
 /* AVR I/O pin definionts */
6
 /* AVR I/O pin definionts */
7
 #define NRF_CE_DDR   DDRD
7
 #define NRF_CE_DDR   DDRD
8
 #define NRF_CE_PORT  PORTD
8
 #define NRF_CE_PORT  PORTD
9
-#define NRF_CE_PIN   PB7
9
+#define NRF_CE_PIN   PD7
10
 
10
 
11
 #define NRF_CSN_DDR   DDRD
11
 #define NRF_CSN_DDR   DDRD
12
 #define NRF_CSN_PORT  PORTD
12
 #define NRF_CSN_PORT  PORTD
13
-#define NRF_CSN_PIN   PB6
13
+#define NRF_CSN_PIN   PD6
14
 
14
 
15
 void Initialize_NRF24L01(void);
15
 void Initialize_NRF24L01(void);
16
 void Set_NRF24L01_Pins(void);
16
 void Set_NRF24L01_Pins(void);

Carregando…
Cancelar
Salvar