GlenNicholls / solar_tracking_project

This is the the repository for our solar tracking capstone project.
2 stars 1 forks source link

[PISW] Add limit switch INTs to halt motors in stepper motor class #78

Closed GlenNicholls closed 5 years ago

GlenNicholls commented 5 years ago

Adding pins like so:

https://github.com/GlenNicholls/solar_tracking_project/blob/8eca18658b97e4545bd6755c86a6eb138e5fe64d/src/motor_control/stepper_motor.py#L24-L25

configure these as interrupts and ensure they immediately halt motors during an event. The motors should then move in the opposite direction some fixed amount to determine start position

GlenNicholls commented 5 years ago

closed per most recent commit