ESP_IOT v2.5
IOT ESP Coding
L9110S_DCStepperClass.h
Go to the documentation of this file.
1//
2// L9110SDCMotorStepperClass.hpp
3//
4//
5// Created by Scott Moody on 5/19/25.
6//
7
8#ifndef L9110SDCMotorStepperClass_hpp
9#define L9110SDCMotorStepperClass_hpp
10
11#include "../../Defines.h"
12
14
15//! An concrete class
17{
18public:
19 //! constructor
20 L9110S_DCStepperClass(char *config);
21
22 //! destructor
24
25 //! Data members of class
26 //! Generic config info .. specific the the sensor type
27
28 //!starts the PTStepper
29 void start_MotorStepper();
30
31 //!setup the PTStepper
32 void setup_MotorStepper();
33
34 //! stops motor
35 void stop_MotorStepper();
36
37 //!loop the PTStepper (so timer can run)
38 void loop_MotorStepper();
39
40#ifdef NOT_WORKING
41 //! not working as the motor is running by itself .. needs a delay another way
42 //! or somehow to run the start_Motor again (but only 1 time)
43 //! the StepperModule cannot make that call.. .. unless calling start_Motorl was passed a
44 //! number like 1 or 2 ??
45
46 //! 9.4.25
47 //! delay amount after a start_MotorStepper
48 //! defaults = 0
50#endif
51};
52
53
54#endif /* L9110SDCMotorStepperClass_hpp */
void loop_MotorStepper()
loop the PTStepper (so timer can run)
void start_MotorStepper()
starts the PTStepper
void stop_MotorStepper()
stops motor
~L9110S_DCStepperClass()
destructor
void setup_MotorStepper()
setup the PTStepper
L9110S_DCStepperClass(char *config)
constructor
An mostly virtual class.