I have spent some time reading into the aymega328 8 bit timer counter trying to understand how to implement
a) external clock input
b) UP / DOWN count direction based on external conditions
I am having some difficulty with the second point. I can not see if it is possible to do that; namely change direction of count based on external ( to the counter control logic ) conditions such that the counter acts as a dynamic hardware register.
The idea being that a direction and distance information is used to establish a servo motor ( not the aircraft model servo motor) where the content of the counter represents the the position of the motor.
Any and all comments apropos the topic welcome.