ADGAN
Full Member level 5
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.