ESP_IOT v2.5
IOT ESP Coding
L9110S_DCStepperClass Class Reference

An concrete class. More...

#include <L9110S_DCStepperClass.h>

Inheritance diagram for L9110S_DCStepperClass:
Inheritance graph
Collaboration diagram for L9110S_DCStepperClass:
Collaboration graph

Public Member Functions

 L9110S_DCStepperClass (char *config)
 constructor More...
 
 ~L9110S_DCStepperClass ()
 destructor More...
 
void start_MotorStepper ()
 starts the PTStepper More...
 
void setup_MotorStepper ()
 setup the PTStepper More...
 
void stop_MotorStepper ()
 stops motor More...
 
void loop_MotorStepper ()
 loop the PTStepper (so timer can run) More...
 
- Public Member Functions inherited from MotorStepperClassType
 MotorStepperClassType (char *config)
 saves the identity (OOPS.. not working.. it's shared by all class instances.. so last one wins.. More...
 
 ~MotorStepperClassType ()
 destructor More...
 
virtual void start_MotorStepper ()=0
 
virtual void setup_MotorStepper ()=0
 setup the PTStepper More...
 
virtual void stop_MotorStepper ()=0
 stop the motor More...
 
virtual void loop_MotorStepper ()=0
 loop the PTStepper (so timer can run) More...
 
boolean isClockwiseDirection ()
 returns if clockwise More...
 
void setPinValues (int pin1, int pin2)
 
char * classIdentity ()
 

Additional Inherited Members

- Public Attributes inherited from MotorStepperClassType
int _pin1 = 0
 
int _pin2 = 0
 pin2 More...
 

Detailed Description

An concrete class.

Definition at line 16 of file L9110S_DCStepperClass.h.

Constructor & Destructor Documentation

◆ L9110S_DCStepperClass()

L9110S_DCStepperClass::L9110S_DCStepperClass ( char *  config)

constructor

Definition at line 22 of file L9110S_DCStepperClass.cpp.

◆ ~L9110S_DCStepperClass()

L9110S_DCStepperClass::~L9110S_DCStepperClass ( )

destructor

Member Function Documentation

◆ loop_MotorStepper()

void L9110S_DCStepperClass::loop_MotorStepper ( )
virtual

loop the PTStepper (so timer can run)

user timer class instance

Implements MotorStepperClassType.

Definition at line 129 of file L9110S_DCStepperClass.cpp.

Here is the call graph for this function:

◆ setup_MotorStepper()

void L9110S_DCStepperClass::setup_MotorStepper ( )
virtual

setup the PTStepper

These are called from StepperModule Prepare motor controller

7.9.25 if the pin was set use it otherwise use the hard coded values

set output pins

stop the motor (or something) THis seems to be working.. the LOW worked sometimes..

5.3.25 trying to figure out the PIN use

Implements MotorStepperClassType.

Definition at line 57 of file L9110S_DCStepperClass.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_MotorStepper()

void L9110S_DCStepperClass::start_MotorStepper ( )
virtual

starts the PTStepper

Data members of class Generic config info .. specific the the sensor type

This will advance the stepper clockwise once by the angle specified in SetupStepper. Example 16 pockets in UNO is 22.5 degrees This is the FEED message .. the comments mention the Stepper Motor .. which this isn't

5.15.25 try the async CLICK click call 5.26.25 SYNC version

grab this value.

start the delay.. (which at .5 might not be needed...)

Implements MotorStepperClassType.

Definition at line 92 of file L9110S_DCStepperClass.cpp.

Here is the call graph for this function:

◆ stop_MotorStepper()

void L9110S_DCStepperClass::stop_MotorStepper ( )
virtual

stops motor

stop the motor

7.9.25 if the pin was set use it otherwise use the hard coded values LOW is off

user timer class instance

Implements MotorStepperClassType.

Definition at line 41 of file L9110S_DCStepperClass.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: