Преглед изворни кода

Fix pin definitions of the interface to the nrf24l01

Bernd Gottschlag пре 5 година
родитељ
комит
1dd0f89149
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      weather-sensor/firmware/nrf24l01.h

+ 2
- 2
weather-sensor/firmware/nrf24l01.h Прегледај датотеку

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

Loading…
Откажи
Сачувај