Hola Francisco,
The line after matriz[i]=0;i=0; It will make only one step, i=0. This is the problem.
Remove i=0;
Ian.
--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/accelstepper/227af24a-b044-48e9-b0a8-38e913741afan%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "accelstepper" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/accelstepper/PfUfpb5WxVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to accelstepper...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/accelstepper/95fa1042-0b3c-4f22-b437-4a58c8ae327en%40googlegroups.com.