This program is for controlling the velocity of 2 motors.

Encoder.h

Committer:
r08522622
Date:
2020-07-15
Revision:
0:e3e886021c90

File content as of revision 0:e3e886021c90:

#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