The peek reads porta into B0 (you did not include where you have porta defined (unless PB has it defined.. I doubt it, maybe PBP does, I made an include to drop in my code since BP is not a complete product). B0 is byte 0 in the chip.Originally Posted by mister_e
Now that it is in B0, you need to IF against B0. So you can AND it (as it is a byte not a bit) with %00000010.
Bookmarks