When cut and paste goes wrong... (recycling code)
Posted 19th June 2008 at 01:46 PM by blueroomelectronics
I was working on a very simple program for the upcoming JPUG issue and as most of us probably do I like to recycle code from previous programs as a framework for the next. Well I "cleaned" up the code or so I thought added the new bits and off it went. Worked great with the debugger but very strangely when simply programmed into the target. The embarrassing
part is how small the program was and I just didn't see a single program line left over from the original program that was causing havoc and tried all sorts of silly software fixes including a couple of stupid hardware ones (like touching all the parts on the Junebug looking for weak solder joints).
Of course the fix was remove the offending line of code and all was well.
Of course the fix was remove the offending line of code and all was well.
Total Comments 1
Comments
|
|
wow i thought i was the only one who did this lol That happens to me so many times.
|
Posted 19th June 2008 at 02:24 PM by AtomSoft
|
Recent Blog Entries by blueroomelectronics
- When cut and paste goes wrong... (recycling code) (19th June 2008)
- OpenOffice why use MS Office? (21st May 2008)
- Lab Easy & Eagle (18th May 2008)
- Data Logger with the PICkit2 UART tool (16th May 2008)








