2009march 0 Newbie Poster

trying to write a program in C++ that will take a DC voltage as an input into a PIC16F88 (18 pin). and will output 2 seperate voltages, to run two different motors. when the input voltage is greater then 1.5v it will output a small voltage to both outputs, and as the input voltage gets larger the output voltages will increase aswell. looking for any help:)