A program to monitor some parameters for a motor
Dependencies: mbed-dev BufferSerial
Thanks to David Lowe for https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/ which I adapted for the use of TIM2 32bit timer as an encoder reader on the Nucleo L432KC board.
Encoder/Encoder.h
- Committer:
- tonnyleonard
- Date:
- 2017-03-08
- Revision:
- 0:789510d98ade
File content as of revision 0:789510d98ade:
#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