While the value is in the EEPROM you can not go anything with it. You have to read the value into a variable, do something with it and write it back into the EEPROM.
I think that is what you are asking...
While the value is in the EEPROM you can not go anything with it. You have to read the value into a variable, do something with it and write it back into the EEPROM.
I think that is what you are asking...
Dave
Always wear safety glasses while programming.
I can almost hear mackrackit tapping his fingers on the table............!
Working really hard on this, I know what I want to do, I just need a breakthrough. At the moment I'm going around in circles.
I'll see what I can come up with tonight.
Tap, tap, tap...Stop it mackrackit...lol.
Going around in circles?
You mean stuck in a loop
tap tap tap
that is funny![]()
Dave
Always wear safety glasses while programming.
You mean stuck in a loop
Yep,exactly that
If I can't crack it by tomorrow night I'm going to have to ask for a pointer. I was going to ask for one tonight but I think I'm in the right ball park for a small break through (he typed deludedly but hopefully).
Dave
Last edited by LEDave; - 6th May 2010 at 22:24.
Mmmm,Cryptic I know but are you 'hinting' that the way to do part two of the mission, namely:You mean stuck in a loop
Is to have the Total count (part one of mission) actually run inside a WORD size loop and Total parts run is actually the loop count itself? So that whenever the loop stops (ie, MC stops) that value is then written to EEPROM as Total parts run?Total parts run before M/C stops for maintenance For each run
The thinking would then be that Total count just carries on and parts run ie the loop count resets to zero and then starts again on power up.
Dave
Last edited by LEDave; - 7th May 2010 at 17:38.
And writes to a different EEPROM location each time. So if you have five start ups you will have five EEPROM locations (10 actually, 2 per WORD), plus the pair of locations for the TOTAL.The thinking would then be that Total count just carries on and parts run ie the loop count resets to zero and then starts again on power up.
Dave
Always wear safety glasses while programming.
Bookmarks