internal osc, what is the error %...... xtal osc matches with multicalc calculations
amgen Yesterday, 21:37I get 66.18msec intervals. I'd like to bring that down to 65msec.
MultiCalc says 536 decimal pre-load gives 65mSec (32MHz, 16bits, 1:8)
How do you store 536 in TMR1H and TMR1L?
I manually...
Oh,sorry. I re-read that now...
Well, it is still unbelievable...
Ioannis
this is PBP 2.6 and 20MHZ clock, and 10 times a second tmr1 interrupt....... on interrupt routine, need to, 1) stop timer... 2) reload tmr1 counters for timing period... 3) do something ( I set a...
amgen Yesterday, 15:42there are a number of problems
1, toggle LatB.4 is a no no. toggle or any other pbp high level command will not function correctly with LATx regs and can only be safely used with PORTx regs
2....
16F18877
Mostly taken from:
https://dt.picbasic.co.uk/INT14/TMR1INT
#CONFIG
__config _CONFIG1, _FEXTOSC_OFF & _RSTOSC_HFINT32 & _CLKOUTEN_OFF & _CSWEN_OFF & _FCMEN_ON
__config...
why not use one of the interrupt pins int0 int1 int2
alternatively
portb pins 4 to 7 have interrupt on change capability
read data sheet interrupt section and i/o port sections ...
Hi guys,
I'm trying to figure out how to trigger a routine when a especific pin changes from digital low to high.
I can eventually create a jump to a short check on that pin and then return to...
Re: My TMR1_INT Blinky is not blinking
I hadn't thought of that.
Demon Yesterday, 21:42