6 years, 11 months ago.

error: 'myNRF' undeclared (first use in this function)

Hi friends, Im trying external interrupt related nRF24L01 and I used HAL_nRF24L01P_IRQ_Handler(&myNRF); this function ,I 'm getting undeclared .... error . library that in main.c is main.h ,nRF24L01.h etc and the IRQ_Handler function that I use is available in nRF24L01.h(just prototype) and nRF24L01.c and I call this IRQ_Handler is in stm32f4xx_it.c and the include files which in stm32f4xx_it.c are #include "stm32f4xx_hal.h"

  1. include "stm32f4xx.h"
  2. include "stm32f4xx_it.h"
  3. include "nRF24L01P.h" where is my mistake? Thanks
Be the first to answer this question.