Explorar el Código

Fix pin definitions of the interface to the nrf24l01

Bernd Gottschlag hace 5 años
padre
commit
1dd0f89149
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      weather-sensor/firmware/nrf24l01.h

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

@@ -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…
Cancelar
Guardar