EEPROM Problem & Switch problem (Solved)
Posted: Sun Jul 29, 2012 9:20 pm
Hello everyone,
I've trouble reading and writing to the eeprom of my PIC18F8722.
I wan to write a value of 296 to the eeprom, this is a value of a calibration process.
but when I read the same address the result is different.
Also I have tryed to write to address 1 instead of address 0 but same result.
Can some body look into this, because this setting cannot be lost after power-down.
And then there is a switch problem this is a snap-shot of a macro that i'm using for my calibration menĂ¼:

as you can see here that I can use my rotary encoder to select the different sensors when I press the rotary encoder""ROT_SW" then its should enter that sub menu of sensor CO2 bt it never does, When I hold down so ROT_SW remains High end then rotate the encoder to select sensor CO2 then it enters the submenu, I dont know how where this behavior comes from because I used the same system in every menu and there it works perfectly.
Hope somebody has suggestion for this solve,
Regards Jordy
I've trouble reading and writing to the eeprom of my PIC18F8722.
I wan to write a value of 296 to the eeprom, this is a value of a calibration process.
but when I read the same address the result is different.
Also I have tryed to write to address 1 instead of address 0 but same result.
Can some body look into this, because this setting cannot be lost after power-down.
And then there is a switch problem this is a snap-shot of a macro that i'm using for my calibration menĂ¼:

as you can see here that I can use my rotary encoder to select the different sensors when I press the rotary encoder""ROT_SW" then its should enter that sub menu of sensor CO2 bt it never does, When I hold down so ROT_SW remains High end then rotate the encoder to select sensor CO2 then it enters the submenu, I dont know how where this behavior comes from because I used the same system in every menu and there it works perfectly.
Hope somebody has suggestion for this solve,
Regards Jordy