Hi, I have the following problem:
I am trying to work my way into some os c programm, and being not qite a pro in programming, I have a hard time with it. I did check the books and the internet but don`t find an answer to my problem.
My working place is mplab Ide v8.9with a project tree consisting mainly of headers and source files, and there is one main file. The source files consist of definitions, declerations and functions.
So I write a function in one of the sourcefiles, with a prototype, and when I call the function inside an other function, no arguments seeme to be passed, either any return value appears.
Basically I don`t quite understand the entire tree, how all the source files work together with the main, wich is rather small.
here`s the main:
// main program for testing the IMU.
int main(int argc, char argv)
// keep these values available for later
mp_argc = argc;
mp_argv = argv;
init_servoPrepare(); init_states(); init_behavior(); init_serial(); udb_run(); // This never returns. return 0;
Thanks for any help,
It looks like you're new here. If you want to get involved, click one of these buttons!