Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
Hi, I have Dragon12 board with a 68HCS12 chip. I'm trying to move a bipolar stepper motor both forward and backward. I have found many codes but I'm not sure which to use. I'm using C language. Does anybody out there have any suggestions??? Any help would be greatly appreciated!!! Thanks!
In a message dated 2/13/06 4:54:17 P.M. Eastern Standard Time, robsot99@robs... writes: I'm trying to move a bipolar stepper motor both forward and backward. I have found many codes but I'm not sure which to use. I'm using C language ================================= You just have a table with 4 entries... the coil pattern for each of 4 steps, and you increment or decrement the array index modulo 4 to go fwd and backward, and output the table data to the coils at each step. [Non-text portions of this message have been removed]