This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ERROR while triyng nrf_delay_in_us

Hi,

can anyone help me with tih error, because of the nrf_delay i cant compile. i use keil to programm the nrf51822.

Thanks, Nils

Unbenannt.png

Parents
  • If you need to use the nrf_delay_ms function, which it seems you do, you have to include the nrf_delay.c file in your project. This can be done by right-clicking one of the folders in the project overview and then click add file, finding the nrf_delay.c file and selecting it.

    The error you see in nrf_delay.c is actually a bogus error reported by Keil, and not the actual cause of the problem.

Reply
  • If you need to use the nrf_delay_ms function, which it seems you do, you have to include the nrf_delay.c file in your project. This can be done by right-clicking one of the folders in the project overview and then click add file, finding the nrf_delay.c file and selecting it.

    The error you see in nrf_delay.c is actually a bogus error reported by Keil, and not the actual cause of the problem.

Children
No Data
Related