now it works
This commit is contained in:
@@ -71,6 +71,9 @@
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
extern uint32_t led_tx_countdown;
|
||||
extern uint32_t led_rx_countdown;
|
||||
#define DATA_FLASH_TIME 5000
|
||||
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
|
||||
@@ -87,6 +90,8 @@
|
||||
#define NRF_NSS_GPIO_Port GPIOA
|
||||
#define RENUM_Pin LL_GPIO_PIN_0
|
||||
#define RENUM_GPIO_Port GPIOA
|
||||
#define NRF_RESET_Pin LL_GPIO_PIN_9
|
||||
#define NRF_RESET_GPIO_Port GPIOB
|
||||
|
||||
/* ########################## Assert Selection ############################## */
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#define GEX_NRF_NRF_H
|
||||
|
||||
/*
|
||||
* nordic.h
|
||||
* nordic.h - adapted from http://barefootelectronics.com/NRF24L01.aspx
|
||||
*
|
||||
* Created:12/16/2013 3:36:04 PM
|
||||
* Author: Tom
|
||||
@@ -21,8 +21,11 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#define NRF_CHANNEL 76
|
||||
|
||||
|
||||
#define dbg_nrf(...) do{}while(0)
|
||||
//#define dbg_nrf(...) dbg(##__VA_ARGS__)
|
||||
//#define dbg_nrf dbg
|
||||
|
||||
// Initialize SPI and the Nordic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user