I use the voltage supply to control the 24v dc motor. After tat for the feedback circuit I use optocoupler to generate a frequency and then convert voltage from 0 to 5v by using LM2917-14 then send to PIC. wat i wan is 5 v to represent 24v and 0v represent 0v. Can i use LM2917-14 as a feedback counter?