Hi,

Just check your Pic Datasheet and see what are the ALLOWED ranges for Vref ...

Alain