PDA

View Full Version : Timing question



Johan
- 18th August 2007, 10:58
I'd like to include a hour meter in my program.
It should read to eeprom and add value to eeprom every hour
How to do that with 12F683 , without affecting the ADC / PWM ?

a sample code is highly appreciated :)


Thanks,

Johan

Acetronics2
- 18th August 2007, 13:48
Hi, Johan

A look at DT-Elapsed timer seems a good idea ...

Sample program offered ...

Anything more ???

Alain

Johan
- 19th August 2007, 12:25
Hi Alain, thanks for the info,

I made test program , but I got error messages :
variable wsave3 position request 416 beyond ram_end 191
variable wsave3 position request 288 beyond ram_end 191


I use PIC 12F683 , PBP 2.47,MPASM 5.1

Michael Wakileh
- 19th August 2007, 15:02
You need to comment out the wsave3 line inside DT_INTS-14.bas using '

Johan
- 19th August 2007, 18:48
Thanks Michael,
It works now :)

Thanks to you too, Darrel