This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt on nrf52

Hello, I am using sdk 12.2.2 and pca10040. I am have successfully interfaced bme280 sensor with nrf52. Now I am trying to interface bmi280 with nrf52. So for that I need interrupt. So I am following this post: devzone.nordicsemi.com/.../

My thought is that first I will provide interrupt with button1 and then I will replace the button with gpio pin that is connected to my sensor which generates interrupt.

I have modified peripheral/uart code by including I2C drivers in that code.

Now my challenge is when I am adding the code given here : devzone.nordicsemi.com/.../ in my uart code I am getting error as follows:

......\main.c(538): error: #167: argument of type "int" is incompatible with parameter of type "const uint32_t *"

......\main.c(538): warning: #167-D: argument of type "void (*)(uint32_t, uint32_t)" is incompatible with parameter of type "app_gpiote_event_handler_t"

Thanks,

Parents Reply Children
No Data
Related