Thank Henrik !

I am planning to use 16F88 , but I will look at 18F2431 as your suggestion

As for the speed , it just 0 - 10 rpm max , with 100 count encoder.

The pic will then output led indicator direction and speed low - med - high according to rpm , that simple