Bowls Eye  1.0
Public Attributes | List of all members
StepperMotor_t Struct Reference

Structure for interfacing with stepper motor and its dual H bridge driver. More...

#include <stepperMotor.h>

Public Attributes

uint8_t pinEnA
 
uint8_t pinB1
 
int8_t currentStep
 
double waitTime
 
uint8_t stepMultiple
 

Detailed Description

Structure for interfacing with stepper motor and its dual H bridge driver.

Definition at line 34 of file stepperMotor.h.

Member Data Documentation

int8_t StepperMotor_t::currentStep

Current step of the motor

Definition at line 38 of file stepperMotor.h.

Referenced by StepperMotor_construct(), StepperMotor_decrementStep(), StepperMotor_incrementStep(), and StepperMotor_wrapStep().

uint8_t StepperMotor_t::pinB1

The pins used to enable the coils of the motor

Definition at line 37 of file stepperMotor.h.

Referenced by StepperMotor_construct(), StepperMotor_disable(), StepperMotor_enable(), StepperMotor_step0(), StepperMotor_step1(), StepperMotor_step2(), and StepperMotor_step3().

uint8_t StepperMotor_t::pinEnA

Contains the methods for performing each step<

Definition at line 37 of file stepperMotor.h.

Referenced by StepperMotor_construct(), StepperMotor_disable(), StepperMotor_enA(), and StepperMotor_enable().

uint8_t StepperMotor_t::stepMultiple

Rotational direction and angular resolution

Definition at line 40 of file stepperMotor.h.

Referenced by StepperMotor_construct(), StepperMotor_setStepSize(), and StepperMotor_update().

double StepperMotor_t::waitTime

Time to wait/delay between steps

Definition at line 39 of file stepperMotor.h.

Referenced by StepperMotor_construct(), and StepperMotor_update().


The documentation for this struct was generated from the following file: