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

Enum change with pushbuttons

Hi , i am using the nrf52dk and i have a switch statement that depending on the case there is a set of enum and i would like to utalised the push button to increase/decrease the sequence of the enum. 

however i do not want to use the bsp as im having problems with it at the moment due to conflincting with another section of the code and thus am restructing the code and change it without using bsp

thanks in advance 

nikolai dimech

Parents Reply
  • Hi thanks for your reply, I have solved the issue now.

    however just to elaborate my problem,

    i had an application whereby I use the  PWM driver example which has multiple demos and in my case, i changed the demos by using buttons and the driver as u may know uses the bsp functions. 

    however when I came to add some other functionality to the project such as GPIOTE interrupts the program was clashing due to the bsp library.

    but now as i said i solved it :)

Children
No Data
Related