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