When you are using the "Bit Offset from Port" method, it is using "BIT Array" operations internally.
BIT array's have a limit of 256 elements.
Giving it a WORD sized offset will not work.
It will compile using a WORD, but it will only use the LowByte of that value.




Bookmarks