Quote Originally Posted by flotulopex View Post
Thanks Darrel,

I thought the data-sheets where already the most difficult documents to understand... In fact, it's the whole PIC logic

How would anyone think that "1" doesn't mean "ON"? One can just not verify every and each bit setting any time he uses it, no?

BTW, I don't set any DEFINE and it works perfectly... on RB0 when the fuse is set to "OFF".

NB: just wondering how many PIC-freaks do know what you just explained...
Actually, there's a lot of place where a '0' means on. Look at MCLR*. You are only doing a 'Master Clear' when the pin is at logic 0, or OFF. A lot of control signals are negative logic. On a static ram chip for instance, RD*, WR*, CS*, etc.etc. In this respect, the PIC is not as isolated a case as you might think. It's been this way for a long time. I remember when I was starting out in electronics, the whole negative logic thing was one of the more difficult things to grasp, or should I say 'accept'. But there it is...and there they'll stay...