The Crazy World (tm) of Rob Miles

Tuesday, June 24, 2003

Another Day, Another Dollar

Start with a Staff Meeting (ugh) then do some programming (yay) and then compose some legal letters (don't ask). Round off with some more programming (yay) and then watch some telly and go to bed. It's a plan, but perhaps not a life plan.

Still grappling with the PIC to get the ADC to work with the interrupts. With great power comes great responsibility. Or, to put it another way, if you get it a bit wrong it just sits there and grins at you. To go from a world of breakpoints, single stepping and watching variables to debugging with a flashing LED is a bit of a pain, but at least all the problems are of my own making. I've got it to almost work, which means that there is a nasty timing issue which cause the program to run fine for a few seconds and then go bananas. Ongoing....

Got Sky on in the background. You can buy some cream or other which "combats the seven signs of aging". Hmmm. Seven signs. I think that one of the signs is you can't remember what the seven signs are. In that case they can solve the problem just by printing the list on the box. I'm going to have a look next time I'm in Superdrug and see how many I've got.

Hah. Found the problem. The program was fine (as if I could doubt it). However, if the PIC programmer is plugged in it causes bad things to happen. Things along the lines of memory corruption and other bad karma. Unplug the programmer before running the program and viola (if you like string music).

Moral of story: It isn't always Rob's fault (although this makes a good starting point)

0 Comments:

Post a Comment

<< Home