Hi Steve,Originally Posted by mister_e
I'll be sure to check them out.
Thanks
jessey
Hi Steve,Originally Posted by mister_e
I'll be sure to check them out.
Thanks
jessey
Yes we still use those 'Cool Blue' LCD's - several thousand a month....
Hi Melanie,Originally Posted by Melanie
That's great, are you still selling them for $15.00 USD with free shipping? I'd like to purchase a few if I could, so how would I make payment?
Thanks
jessey
hello Melanie
i have some questions
1- i did not understand yet why did you used calibration? and what is that for ? all what i understood it that
you used to speed up or down, but i could not understand it why ?
2- all i know, the Disable i use it before interrupt routine and Enable after it, but i note you used it at different place
why did you placed at these places ?
Enable
DisplayLoop:
if ButStart=0 then runningflag=1
if butstop=0 then runningflag=0
lcdout $fe,$80,Dec2 hours,":", dec2 Minutes,":", dec2 seconds,":",dec2 Hundredths
if overflowerror=1 then
if seconds.0=1 then
lcdout $fe,$8c,"ERR"
else
lcdout $fe,$8c," "
endif
endif
if runningflag=1 then goto Displayloop
if butreset=1 then goto Displayloop
Disable
Calibration
With the best intentions in the world, a 4MHz Clock is NOT a 4MHz clock. It is a few Hz fast, or a few Hz slow, but is is NOT exactly 4000000.0000Hz. so the Calibration feature is used to speed-up or slow-down the clock slightly to compensate, and to compensate any lag in software instructions used to service the interrupt.
Interrupt ENABLE
I only ENABLE interrupts where they are needed. In other places they are either not needed, or not wanted. This also makes for smaller and more efficient code.
so put some codes between Disable and Enable, that will delay interrupt
handler rountine for few times?? and use that trick if i want to finish some
procedures, i fear if without it the interrupt could screw it up ?then for that i give some
delay to interrupt to finish that procedure?
Disable
Enable
Hi!
First my introduction:
I am racing with a dirt bike and I have my own race track. I would like to record my lap times with something like this program. But there is a problem. I don't know how to program in Picbasic. I am used to assembler or C program language. So I'm asking if you have this code translated in assembler or C.
I just need to change that the measured time is stored in memory and on LCD which already is and that when I cross the line timer has to store lap time which ended up and at the same time start timming for the next lap.
I'll realise this with an IR diod installed on a motorbike and a reciever.
I know that it's a bit komplex, but if you have something like this Please respond to me.
Thanks! Ziga
Bookmarks