Hi, looks like I ignored you there..... We took it to email!
Type: Posts; User: Art; Keyword(s):
Hi, looks like I ignored you there..... We took it to email!
Hi Tabsoft :)
No, but I had a moment of inspiration. Wouldn’t even need the interrupt, but it will help.
The idea is to sync it roughly, with port.0 interrupt, then turn off ext int and the clock...
There might not be a need to if I fix the second channel on my scope, and do what you did,
except look at the generated pulse on one ch, and the GPS pulse on the other.
Then if I can’t sort it out...
It just occurred to me I’d have to comment out anything instant interrupts does with other interrupts
just in case activity on portb.0 changes the time that takes to execute (prior to the timer...
1.. Yes.
There is a little more in the main program to handle the ext interrupt, but essentially yes (for question 2).
The main program turns external int off and clears it’s trigger flag as well...
Ok thanks for confirming, I figured as much.
Dt’s original timer, or a bastardised version of it, because I know for the project it will always be clocked at 10 MHz,
and I also know I will only...
This is about an issue of my own. There would be different ways to implement in a program.
It probably should have been commented like this:
; ----------------- ADD TimerConst to TMR1H:TMR1L...
Ok, so if you had other interrupts enabled, some timer ticks may have occurred before this routine?
I have only used the Elapsed Timer, and done others manually.
I hope you don’t mind discussion...
Hi :)
I was looking through your version and come across this again, as is also in DT’s original code:
; ----------------- ADD TimerConst to TMR1H:TMR1L
ADD2_TIMER macro
CHK?RP ...
Ok so the LCD write command must get interrupted, and is fine to continue the rest of the display
with updated values after the interrupt, or the entire display would never get written.
In that...
To do the digit lookups for 7 segment LEDs, you’d need to print and delay for Human vision all digits of the clock for every millisecond.
It’s a tough call, but the delay can be shorter the faster...