Hi,
This is just a general "how do you do it" question.
When you write code for a project what's your format for its layout.
Some background to help me explain my question. In my coding for another compiler. I would mostly just have one file, I suppose one of the reasons is that ISIS VSM would always give issues with includes but another reason would be that I could easily jump around the code and portability of the code, Less files to have to remember to pack up the better.
I normal write like this:-
OSC speeds Coff enabling that kind of stuff
Defining Pic regs
Variable defs
Constants etc
Eeprom allocations
Jump to main
Interrupt code High/Low
All subs
Initialization
Main Loop
Data Tables
Now Firewing offers so much better structure ability, but I'm lost on the best formating. Do you code it all in one file, Are you always making modules, Do you place subs, functions etc below your main code.
If you do not mind sharing any old projects that show your system I would appreciate it.
Thanks
Tim
