AnsweredAssumed Answered

CodeWarrior V5.1 for 9S08QG8 beginner questions

Question asked by Steve Church on May 2, 2007
Latest reply on May 2, 2007 by Steve Church
I pressed the wrong key so the message got put on without any text.
I've just started using CodeWarrior for C code developement. I am after some fairly fundamental info about where to declare variables and how to make them available to other modules. I have used a Keil C compiler for 8051s before now and there were tons of documentation and examples published that helped me get a head start. My simple trial code I have tried so far has declared variables in the 'home'  .c module and declared them as external in the 'away' .c module. There must be a more elegant way of doing this. I guess what I need is some kind of overall project template. I guess if I look long enough I'll find what I need but some pointers (sorry about the pun) would be handy.

I've already had some very useful help from you guys regarding the processor. I expect there'll be quite a lot more in the coming weeks.

Steve

Outcomes