Thank you for the response. I changed the line "struct data *tmp" to "int *tmp" and the code compiled with no errors. However, the eeprom did not work until I disabled interrupts while writing to it ...
I am migrating from 16F877 to 18F4525 and am having trouble with code that reads a data structure from data eeprom. I am using PCH v 3.6.0.98 and I get the error "invalid type conversio ...
Thank you for the reply. Here is the definition of the data structure.
I don't know if it is valid or not to use a pointer to store the results from read_eeprom() but it works with the old PCM compi ...
I am upgrading an existing design from a 16F877 to a 18F4525. The following code compiles and works with the 16F877 device. The compiler is PCM ver. 2.660.