Automatic Curtain  MVP
Software repository for an automatic curtain using stepper motor, TMC2209 and ESP32
motor_driver.h File Reference

Defines structure for controller of stepper motor, uses library TMC2209 for this usecase. More...

#include <Arduino.h>
#include <HardwareSerial.h>
#include <TMCStepper.h>
#include <ctime>
#include <memory>
#include <thread>
#include "../config/config.h"
#include "../logging/logging.h"
Include dependency graph for motor_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MotorDriver
 

Detailed Description

Defines structure for controller of stepper motor, uses library TMC2209 for this usecase.

Author
Mahimana Bhatt (mahim.nosp@m.anab.nosp@m.hatt@.nosp@m.gmai.nosp@m.l.com) [FUTURE] Do all motor driver control using serial comm, replacing the step and dir pins
Version
0.1
Date
2022-07-19