Setup and control of stepper motor. More...
#include "stepperAdvance.h"#include "timeKeeping.h"#include "uart.h"#include "storeLoadMechanicalTime.h"#include "pinInterrupts.h"Go to the source code of this file.
Functions | |
| void | stepperAdvance () |
Variables | |
| int | stepperArray [] = {BIT0, BIT3, BIT4, BIT5} |
| Advances the stepper each time it gets called by one full step gets triggered by ISR_TA0(). | |
Setup and control of stepper motor.
Definition in file stepperAdvance.c.
| void stepperAdvance | ( | ) |
Definition at line 23 of file stepperAdvance.c.
References mechanicalTimeFloat, STEPPER1, STEPPER2, STEPPER3, STEPPER4, stepperArray, stepsRemaining, timePerStep, toggleCalculateTimeDifference, toggleFwdInterrupt, toggleFwdInterruptISR, UART_SendString(), UART_SendTime(), UART_SendUint32(), and write_SegD().
Referenced by ISR_TA0().
| int stepperArray[] = {BIT0, BIT3, BIT4, BIT5} |
Advances the stepper each time it gets called by one full step gets triggered by ISR_TA0().
Step sequence:
Definition at line 22 of file stepperAdvance.c.
Referenced by stepperAdvance().