eeprom how many data can store
Hi all
Could I store 365 data in the eeprom??????? I am using PIC16F84A.
If can not, can u suggest me how many data that I can store in the eeprom or other places. Thanks.
************************************************** ********
For example: I want to store time 12:13 pm into a place.
a var word
c var byte
'
'some initialization
'
On INERRUPT exit
EEPROM 0, [$0c0d]
main: READ 0,a.highbyte
READ 1,a.lowbyte
c= a.highbyte - 5 ' return 7am
IF hour = c THEN ' check 7:13 am
IF second = a.lowbyte THEN '
low PORTB.0 ' motor start
ENDIF
ENDIF
GOTO main
DISABLE
exit:
'Interrupt will accur every 65.536 msec
'some program code here to calculate time using tmr0 interrupt
'
INTCON.2 = 0 ' clear flag
RESUME
END
**************************************
The return value below is it correct ???????
a.highbyte=$0c ' 12
a.lowbyte= $0d ' 13
c = 7
2 interrupt at the same time
Hi Melanie
Can I know it is possible to use 2 interrupt in a single program as i am using PIC16F876A?
(i) TMR0 using to create 1 second elapsed time to create date and time.
(ii) TMR1 using as sending 4.32 second pulses to the stepper motor driver ucn5804B.
It is possible ??
Please advice..
Thanks you very much.