How to write better code for your projects ?

From: Rodo (dsp1024_at_yahoo.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 05:06:08 GMT

Hi all...

I've written code for my stuff at home. You know, the stuff you experiment
with. Not meant to be pretty or a full blown project. If it is something I
will use in the future - like an LCD init function - I fully document it and
place it in a special "custom" folder.

I can write code and it is good. I have a EE and I've being working for 2
years now. Little stuff like test boxes and the like are no problem. At
work, I was told I'm going to get a whole project soon - the boss was
impressed with a silly test box I made, now he thinks I can make a space
shuttle. Are they all this clueless ?. I know each part of the design so I'm
not panicking just yet :-). I'm thinking how to implement the different
parts but I don't feel comfortable writing this project like I did my senior
project. BTW my senior project worked with very few glitches.

I just feel I need more info on writing code for embedded systems (that's a
good magazine: Embedded Systems Programming ). Before I start cranking out
code, I'd like to get more info on ways of writing code. Can you suggest a
book or reference where to start ?

Thanks

BTW no need for a RTOS. The project is not that complex. It's going to use a
microchip PIC18Fxxxx. I haven't decided which one yet.



Relevant Pages