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!
Stepper motor using an HCS12
Started by ●February 13, 2006
Reply by ●February 13, 20062006-02-13
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.