Write Encoder Library
Parse encoder packets and provide functions to utilize the encoder data.
#1 Updated by Kevin Woo over 11 years ago
- Use timer to grab encoder data at regular intervals
- Use the interrupt to split and store the left and right encoder data separately
- Determine direction of wheel in interrupt
- 1 is forward, 0 is backward?
- Function to return an int -> [1 bit direction | 5 blank bits | 10 bits encoder data]
- function should take in which encoder