Hi! ![]()
I want to be able to save two sets of numbers, no more than 10.000 or -10.000.
The numbers are from a rotary encoder situated at the motor.
As of now I can save one position, and erase it. Its for my little motor that can go up and down.
The position I can save makes the motor stay for 1 second at that position.
But I want the machine to always "know" its position also, so that it starts on the right position when turned off and on again.
But for what I understand, I need to change the code quite completely for me to be able to save Another location/set of numbers. What would I need to do? :![]()
Create a block of some sort? How? Can I name these two banks to the eeprom?
The machine should be used very little, so the amount of writing/reading to Eeprom wont be a problem.
I attach the code here and hope for some help.
I'm a total newbie, so please dont be to harch on me for the way its written. :o
And excuse the language, its in Swedish.