Marcel Birthelmer wrote >It works pretty well at this point, except for one thing: the two most >significant digits (thousands and hundreds) aren't initialized for some >reason, even though I'm clrf'ing them. They don't fluctuate once the >pic is running, and they behave as expected, but I can't get them to >start at 0 for some reason. If anyone has any ideas, please let me >know. Also, any constructive criticism on code or whatever else is >appreciated. Hello, I can see a problem with the code. You've numbered the counters 0x28 to 0x31 rather than 0x28 to 0x2b. Then in the code you inc FSR so the most significant counters won't be updated when you expect. That's the sort of bug that's hard to find. -- Martin -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist