Sfoglia il codice sorgente

Fix pin definitions of the interface to the nrf24l01

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

+ 2
- 2
weather-sensor/firmware/nrf24l01.h Vedi File

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

Loading…
Annulla
Salva