This program is for controlling the velocity of 2 motors.
Diff: Encoder.h
- Revision:
- 0:e3e886021c90
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Encoder.h Wed Jul 15 11:18:13 2020 +0000 @@ -0,0 +1,6 @@ +#ifndef ENCODER_H +#define ENCODER_H + +void EncoderInit(TIM_Encoder_InitTypeDef * encoder, TIM_HandleTypeDef * timer, TIM_TypeDef * TIMx, uint32_t maxcount, uint32_t encmode); + +#endif \ No newline at end of file