Compare commits
No commits in common. "721fe66cf4f6a258ee5db4926085cecc196e0cbc" and "3fe9f67aded1684a161189f5dd7d51e69e5f25d1" have entirely different histories.
721fe66cf4
...
3fe9f67ade
1 changed files with 22 additions and 5 deletions
27
inc/main.h
27
inc/main.h
|
@ -90,6 +90,14 @@ typedef struct {
|
|||
//Public Prototypes
|
||||
//#############################
|
||||
|
||||
/**
|
||||
* @brief Blinks a defined led pin.
|
||||
* @param None
|
||||
*/
|
||||
void LedBlink(void);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Initializes the uC for the program.
|
||||
*/
|
||||
|
@ -98,25 +106,34 @@ void InitProg(void);
|
|||
|
||||
/**
|
||||
* @brief Reads the ADC pin
|
||||
* @param
|
||||
*/
|
||||
uint16_t ReadADC(void);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Moves the motor to target location based off the PB3.
|
||||
* @param[in] 8bit value representing fader location.
|
||||
* @brief
|
||||
* @param
|
||||
*/
|
||||
void MotorMoveTo(uint8_t target);
|
||||
|
||||
/**
|
||||
* @brief Turns off motor allowing free movement.
|
||||
* @brief
|
||||
* @param
|
||||
*/
|
||||
void MotorCoast(void);
|
||||
|
||||
/**
|
||||
* @brief Activates the motor driver in forward or reverse.
|
||||
* @param[in] moves foward when true and in reverse when false.
|
||||
* @brief
|
||||
* @param
|
||||
*/
|
||||
void MotorMove(uint8_t fwd);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
* @param
|
||||
*/
|
||||
uint8_t ReadButton(void);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue