#include <stepper.h>
Definition at line 14 of file stepper.h.
◆ calculate_speed_()
void esphome::stepper::Stepper::calculate_speed_ |
( |
uint32_t |
now | ) |
|
|
protected |
◆ has_reached_target()
bool esphome::stepper::Stepper::has_reached_target |
( |
| ) |
|
|
inline |
◆ on_update_speed()
virtual void esphome::stepper::Stepper::on_update_speed |
( |
| ) |
|
|
inlinevirtual |
◆ report_position()
void esphome::stepper::Stepper::report_position |
( |
int32_t |
steps | ) |
|
|
inline |
◆ set_acceleration()
void esphome::stepper::Stepper::set_acceleration |
( |
float |
acceleration | ) |
|
|
inline |
◆ set_deceleration()
void esphome::stepper::Stepper::set_deceleration |
( |
float |
deceleration | ) |
|
|
inline |
◆ set_max_speed()
void esphome::stepper::Stepper::set_max_speed |
( |
float |
max_speed | ) |
|
|
inline |
◆ set_target()
void esphome::stepper::Stepper::set_target |
( |
int32_t |
steps | ) |
|
|
inline |
◆ should_step_()
int32_t esphome::stepper::Stepper::should_step_ |
( |
| ) |
|
|
protected |
◆ acceleration_
float esphome::stepper::Stepper::acceleration_ {1e6f} |
|
protected |
◆ current_position
int32_t esphome::stepper::Stepper::current_position {0} |
◆ current_speed_
float esphome::stepper::Stepper::current_speed_ {0.0f} |
|
protected |
◆ deceleration_
float esphome::stepper::Stepper::deceleration_ {1e6f} |
|
protected |
◆ last_calculation_
uint32_t esphome::stepper::Stepper::last_calculation_ {0} |
|
protected |
◆ last_step_
uint32_t esphome::stepper::Stepper::last_step_ {0} |
|
protected |
◆ max_speed_
float esphome::stepper::Stepper::max_speed_ {1e6f} |
|
protected |
◆ target_position
int32_t esphome::stepper::Stepper::target_position {0} |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/stepper/stepper.h
- /opt/build/esphome/esphome/components/stepper/stepper.cpp