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

Not able to setup timer interrupt in nRF51822

Timer_interrupt.txt

Hi all, can anyone please help me in setup up the timer interrupt? I could only see the printing of "Entered 2". Kindly check on the attached text file for my code. Kindly assist. Thanks in advance.

Parents
  • Monpetit answered your question - it's C++ vs C linkage and it would have helped if you'd pointed out you were using Arduino build environment at the start. You need to figure out how to fix the compilation error you're getting - which means starting by working out where the previous definition comes from which is using C++ linkage.

Reply
  • Monpetit answered your question - it's C++ vs C linkage and it would have helped if you'd pointed out you were using Arduino build environment at the start. You need to figure out how to fix the compilation error you're getting - which means starting by working out where the previous definition comes from which is using C++ linkage.

Children
No Data
Related