Code crashes on calling function from another file


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?


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

1 Like