hello

i need to now if i can compare between two sine wave by pic 16f877A or pic 16f628A?

that the input of pic become sine wave , can the pic read that wave or can generate it?

how i can do this ?

Any ideas?