My Project
encoder2.py File Reference

Class of time read from an encoder connected to arbitrary pins. More...

Classes

class  encoder2.Encoder
 

Detailed Description

Class of time read from an encoder connected to arbitrary pins.

This class contains functions that update the motor's counter through pins conncted to encoder wires. The class corrects for any overflow of the timer and records delta positions and saves the previous position. The link to the code can be found here: https://bitbucket.org/mzaman01/me305_labs/src/master/Lab0xFF2/encoder.py

Author
Maisha Zaman
Date
March 18th, 2021