Quote Originally Posted by mackrackit View Post
If memory serves me for your chip. It has an internal OSC option. When using the internal then A6 and A7 can be used for I/Os. You are using an external OSC . So your TRIS for this now will only have six bits. PINs 0 through 5.
AHH now that makes sense.. I just wasn't sure what I should do with the pics when using them as ext OSC
Thanks

Apart from that, does the code look ok?
and any ideas on how to set the higher resolution of the ds18B20 with the configuration I have?