Compare commits

..

No commits in common. "721fe66cf4f6a258ee5db4926085cecc196e0cbc" and "3fe9f67aded1684a161189f5dd7d51e69e5f25d1" have entirely different histories.

View file

@ -90,6 +90,14 @@ typedef struct {
//Public Prototypes //Public Prototypes
//############################# //#############################
/**
* @brief Blinks a defined led pin.
* @param None
*/
void LedBlink(void);
/** /**
* @brief Initializes the uC for the program. * @brief Initializes the uC for the program.
*/ */
@ -98,25 +106,34 @@ void InitProg(void);
/** /**
* @brief Reads the ADC pin * @brief Reads the ADC pin
* @param
*/ */
uint16_t ReadADC(void); uint16_t ReadADC(void);
/** /**
* @brief Moves the motor to target location based off the PB3. * @brief
* @param[in] 8bit value representing fader location. * @param
*/ */
void MotorMoveTo(uint8_t target); void MotorMoveTo(uint8_t target);
/** /**
* @brief Turns off motor allowing free movement. * @brief
* @param
*/ */
void MotorCoast(void); void MotorCoast(void);
/** /**
* @brief Activates the motor driver in forward or reverse. * @brief
* @param[in] moves foward when true and in reverse when false. * @param
*/ */
void MotorMove(uint8_t fwd); void MotorMove(uint8_t fwd);
/**
* @brief
* @param
*/
uint8_t ReadButton(void);
#endif #endif