Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lift System Engine Throttle Control #4

Open
ZacharyDownum opened this issue Jan 11, 2018 · 0 comments
Open

Lift System Engine Throttle Control #4

ZacharyDownum opened this issue Jan 11, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ZacharyDownum
Copy link
Contributor

Objectives, Functionality, and Plan for Completion to be determined.

@ZacharyDownum ZacharyDownum self-assigned this Jan 11, 2018
@ZacharyDownum ZacharyDownum added the enhancement New feature or request label Jan 11, 2018
ZacharyDownum added a commit that referenced this issue Apr 4, 2018
…type instead of a generic IC_Module Type

The Count_Monitor will merely monitor the number of pulses sent by a PWM signal.  Therefore, it can be a different, and simpler, type of Input Capture configuration and does not need to use the more complex IC_Module functions or data.
ZacharyDownum added a commit that referenced this issue Apr 4, 2018
Changed PWM.c to use the Count_Monitor struct instead of the IC_Module struct.  This means that when it recognizes a rising edge of a PWM, it merely increments or decrements a counter to show the position of the motor relative to the normal.
ZacharyDownum added a commit that referenced this issue Apr 5, 2018
Input Capture Module #4 is used to monitor the number of pulses sent to the stepper motor via the PWM Module #2.  This count is used to know when the user has moved the stepper too far in one direction and prevents further motion in that direction.

Fixed various issues (like changing Pin A2 unnecessarily and several incorrect if statements in the IC Module #4 Interrupt) that was causing the PIC to send inappropriate signals to the stepper motor, which caused it to malfunction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant