PDA

View Full Version : help getting started with DT_INTS-14



E Kizer
- 2nd April 2009, 14:41
I've been searching the forum for 2 days now trying to find a fix that I have compiling Darrel Taylor's instant interrupts. I always get the same "Error Line 15: Redefinition of VAR (DT-INTS-14.bas).

I'm using Microcode Studio and I've loaded MPLAB ver 8.15a. I've told Microcode to use MPASM as an assembler, but I still get the same error. It doesn't seem to matter what MCU is selected, nor does it matter what program I'm trying to compile, the same error always pops up.

Does anyone know how to help me?

mister_e
- 2nd April 2009, 14:57
Without seeing any part of your code it's pretty hard to tell...

E Kizer
- 2nd April 2009, 15:44
HI mister E, I just wanted to tell you that your posts have been so helpful to me. I've learned so many really neat things from looking at your codes. But I have to tell you that my absolute favorite was when you used @nop in a loop. I puzzled over that one for a bit until I googled it. I love do nothing on a sunny day and now I can say I love to do nop on a sunny day.

Anyway, what happened was I first got the wsave2, wsave3 errors. A search on the forum said to rem those out.

So either I remed those plus wsave1 or I didn't use a semi-colon, not sure which, but starting over from scratch with a new DT_INTS-14 file and dealing with each error as it came up, again, brought success.

As far as posting code for this particular problem, I was using the blinky led from DT's page, I don't think it would matter too much what code is used, but for us newbie's out there the important thing is to start over, check your errors and corrections and don't over-correct and turn off things that you need.