[email protected]
Member
Hello
I am having trouble setting up my encoder program to read and give an RPM value from a pulse train from an encoder.
I have today found the "feature register" of the KL5111 and am trying to set it up as a counter. I am not able to do this.
can anyone direct me on what values to write and to what register to do this. Also if anyone is willing could they have a look at my program or even better if they have a sample program to convert an encoder signal to 750 RPM.
thanks for the help
I am having trouble setting up my encoder program to read and give an RPM value from a pulse train from an encoder.
I have today found the "feature register" of the KL5111 and am trying to set it up as a counter. I am not able to do this.
can anyone direct me on what values to write and to what register to do this. Also if anyone is willing could they have a look at my program or even better if they have a sample program to convert an encoder signal to 750 RPM.
thanks for the help