a big thanks to you sir expert darrel taylor!!!
it's already working!!
thank you very much for the assistance!!
by the way,is EECON1 a register in the PIC?
thanks!!!
a big thanks to you sir expert darrel taylor!!!
it's already working!!
thank you very much for the assistance!!
by the way,is EECON1 a register in the PIC?
thanks!!!
Hi Al,
You're welcome. And Happy Holiday's to you too.
Whichever Holiday's they may be.
Yes, EECON1 is a register in the PIC.
On the 16F84, it contains the EEIF bit (EEPROM Write Operation Interrupt Flag bit).
On the other PIC16F's, that bit is located in either the PIR1 or PIR2 registers.
The @PIR1 = EECON1 line tells the compiler to look at the EECON1 register for the EEIF bit, since there isn't a PIR1 or PIR2 in the 16F84.
hth,
DT
thanks a lot sir darrel!!
merry christmas and advance happy new year!!!
our preliminary examination for this semester is already through and now i can continue building my 1st time project(moving message display using 5x7 dot matrix) for a newbie like me..with your instant interrupt code i hopefully can utilize it effectively in my project...thanks a lot again!!i guess i have to read more the datasheet of PIC16F84A yahoooo!!!
![]()
I know this is an old thread, but I hope you don't mind me adding my error messages to the ones already corrected previously....I am using a PIC16F636. It has (1)8-bit timer, (1)16-bit timer. I have aready commented out errors wsave2 and wsave3.
Why am I getting these errors?:
Error TIMER~1.ASM 489 : [224]local drive only for use in macros
Error TIMER~1.ASM 489 : [225]undefined symbol 'iflagreg'
Error TIMER~1.ASM 489 : [226]numeric constant or symbol name expected
Error TIMER~1.ASM 489 : [201]')' expected
Error TIMER~1.ASM 489 : [235]opcode expected instead of 'error'
Error TIMER~1.ASM 497 : [225]undefined symbol 'iflagreg'
Error TIMER~1.ASM 497 : [300]too many errors
I am trying to do a 20 minute and then a 50 minute event trigger using this process that you have show us. I really hope to get this working properly to salvage my project.
I don't mind.
You need to use MPASM for the assembler.
It won't work with the default PM.exe.
hth,
DT
MPASM? I am a rookie and not familiar with this.....sorry. Is there more you can tell me or where to go for more? I am using PBP now, is this the problem?
Thanks for the fast reply....I really appreciate your help.
I just surfed my software settings and see where the ASSEMBER tab is located....it is in the "Compile and Program Options" pop-up. What should i do from there?
Okay...I searched for the MPASM location automatically, and I now have compile without errors. Sorry for the learning curve Darrel, and thanks for the info.
Last edited by ronbowalker; - 20th October 2009 at 18:52.
Bookmarks