-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed PWM_Module #2 and the Function of the Propulsion Engine Direc…
…tional Stepper Motor Changed the PWM_Module 2 to use Timer1's prescaler of 64 to allow for smaller frequency PWM signals. Updated the main driver such that the number of pulses sent to the stepper motor has a 1:1 relationship to the number of steps taken by the motor. The base configuration is currently a PWM of 400Hz coupled with a 30 RPM max speed on the stepper motor, with each PWM pulse moving the stepper by +/-1 count.
- Loading branch information
1 parent
686f6e9
commit 4a98f30
Showing
2 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters