And ===> Adcon1=7
And ===> Adcon1=7
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve,
ADCON1 = 7 was already in the "Test_Elapsed_LCD.pbp" program.
Just need to add the CMCON for the 87x"A" varieties.
DT
<br>
This might sound strange for some of you and stupid for others... but i'll say it again, i do not have any previous knowledge in all this...
i already asked how to make it work for PIC16876A with a 4 lines LCD.
i got : 1. Set the DEFINEs to match your hardware.
2. Add CMCON = 7 if using PORTA
3. compile and run.
i'm thankful for this.. but at that time, i didn't pay attention to what was written in the first post! :
" Note2: They are written for use as the only interrupt in the program. If you need to use other interrupts as well, the program will have to be modified before it will work. "
then, i opened the .zip file and found...4 files!
ASM_INTS.BAS
ELAPSED.BAS
TEST_ELAPSED_LCD.pbp
Tets_elapsed_ser.pbp
So what to do with all these......? where to download each of them?....
Naaa. Don't bother.
Try Melanie's Olympic timer instead (cheers Darrel, you keally know how to make friends - Melanie). It doesn't have the ASM stuff to worry about.
Or Paul's clock that doesn't even need interrupts.
DT
<br>
Just wanted to say thanks, works great on a 16F690.
I was going to modify your program a bit, I have an application which uses count down timers, but I thought I should check with you, I noticed a copyright on the code.
Thanks,
Mike
Hi Mike,
Glad it's working.
No problem with the copyright.
You're free to use it any way you want. Well, except posting it somewhere saying you wrote it![]()
DT
Hi Darrel,
I tried making a LCD clock with calender with the elapsed timer code, but the clock runs nearly 2 seconds slow per day.
I've made some modifications to the Elapsed_INT.bas.txt file so attached that also with my code ...
I dont know how to fix this error...
What should i do?... try tweeking the TimerConst or something???
Sorry for posting that same message again...
I was getting an error message...
The attachment wasn't uploading correctly...
Bookmarks