Code crashes on calling function from another file

Hi,

To manage the code properly, I create new file and respective header file. And put the respective functions in that file. But when I am trying to call that function from main.ino file, my code is crashing.

And to debug this, I just put ‘return 0;’ at the beginning of the function. But still it is crashing.

Can someone please help me?

Thanks,
Dhaval

You have to place your code online somewhere and share the link for us to review…

https://gist.github.com is useful

1 Like