sorry, I didnt make my question clear enough.

I don't want to use the comparator. I just want them GP0, GP1 as inputs, and GP2 stays as output to flash a simple LED.