ADGAN
Full Member level 5
- Joined
- Oct 9, 2013
- Messages
- 295
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 18
- Activity points
- 1,837
Hello everybody! I would like to know how to right a long integer value to timer1 of PIC16F887 which is stored in the EEPROM. I know how to read & write long integer values from the EEPROM. This is how I read the timer1 and save it as a long integer.
I know how to retrieve values for TMR1H & TMR1L but I don't know how to get the value for count variable.
Code:
pulses = (count*65535)+ (TMR1H<<8 | TMR1L);
I know how to retrieve values for TMR1H & TMR1L but I don't know how to get the value for count variable.