Not seeing where R_Temp is declared!Cold_Bit VAR R_Temp.Bit11 gives "a bad data type"
Are you using PBP 2.50A? There was a bug in the OWIN/OWOUT that was addressed here on the forums awhile back. Might apply to you if using PBP2.50A, not sure if the A patch covered the bug or not.OWIN Comm_Pin, 2, [R_Temp.Lowbyte, R_Temp.Highbyte] gives "expected [" and "expected ]" even though the exist
and half a dozen "bad expressions"
http://www.picbasic.co.uk/forum/show...ighlight=2.50a
Bookmarks