I've not coded an embedded app before, but I got a call the other day from a guy who needs his controller tweaked - a couple new enhancements and some bugs fixed.
He sent the source for me to go over. Seems straight forward enough, about 5800 lines of code - pretty verbose coding - no comments whatsoever. It does make use of costate in a few places.
Some of the coding techniques seem a bit redundant, like looping 14 times to check if a signal was up, and several places with built-in delays of 25 milliseconds as such.
Are these practices common in Dynamic C?
I suppose if I want the job, and the guy wants me to do it, they'll be providing the dev kit and board.
Any "gotchyas" a first timer to DC and embedded systems needs to be concerned with? Looks like I'll have to boot up Windows under my mac to program with the dev kit.



LinkBack URL
About LinkBacks



