I am trying to write some code for speed measurement via an encoder integrated in an electric motor. The encoder gives 64 pulses per revolution. And from the manual it should be possible to calculate the speed with use of Timers 3 and 5 on the MCB167-net evaluation board. But it is the first time I am trying to program a microcontroller and I am having great difficulties to get it working. Does anyone know where to find some examples of such code...? Thanks