mackrackit..
the sample code you wrote did not work, the stepper just moves to left for ever.
i changed my last code ..
i put a delay after read and write instructions, and i changed the place of write instruction.
after these changes the stepper just do its job in the first stage ( when p = 13 and return back) ...then it start to go left and right randomly.
after all this i read the eeprom postion of P, it gives me a big value than 13 !!.
i think that there some mistakes in logical operators i used..but i dont know where ?
this is my new code..
any idea plz??
Bookmarks