Search found 5 matches

by JediRemi
02 Aug 2010 19:39
Forum: mikroC General
Topic: Timer interrupts (always them...)
Replies: 6
Views: 2549

Re: Timer interrupts (always them...)

I will then use the ccp module.
I will come back if I can't find a solution by myself.

Thanks a lot for the advice.
by JediRemi
05 Jul 2010 18:21
Forum: mikroC General
Topic: Timer interrupts (always them...)
Replies: 6
Views: 2549

Re: Timer interrupts (always them...)

Thanks a lot
by JediRemi
04 Jul 2010 06:23
Forum: mikroC General
Topic: Timer interrupts (always them...)
Replies: 6
Views: 2549

Re: Timer interrupts (always them...)

I figured out the problems: -The PortB flag cannot be set to 0. To do so, we have to read PortB. (don t know why) -The program doen t not work if the timer0 is set on 8 bit (if someone can tell me why), si I set it on 16 bits. Corrected code: (work on Proteus ISIS) // Lcd pinout settings sbit LCD_RS...
by JediRemi
03 Jul 2010 02:19
Forum: mikroC General
Topic: Timer interrupts (always them...)
Replies: 6
Views: 2549

Re: Timer interrupts (always them...)

It appears that Software debugger does not handle timer ... GRRRRR It works in proteus ISIS, but another problem arise: ovrflw should reach 19532 every second, it is wayyyy slower. I set 20Mhz in ISIS, but still. The clock (crystal) is 20Mhz, i divide by 4 to have the internal clock, and then by 256...
by JediRemi
03 Jul 2010 01:36
Forum: mikroC General
Topic: Timer interrupts (always them...)
Replies: 6
Views: 2549

Timer interrupts (always them...)

Hello all, I m new to both the timer and interrupts things. I tried to write a frequency meter (using some code from http://www.micro-examples.com/public/microex-navig/doc/110-p16f84-freqmeter.html ) on a PIC18 series (PIC18F2420) I modified some parts but it s not working, in debug mode it shows th...

Go to advanced search