Dear All,
If pinX then ....
works on lower part numbers, but on the X2 parts (40 in particular) it doesnt seem to like accessing the pins directly. While I know its easy enough to read in the whole port then test the bit, is there a simpler way to access say.... D.2 in an "if D.2 = 1 then ...", or do I have to go through the rigmarole of reading d.2 into a variable and testing that?
Ta!
If pinX then ....
works on lower part numbers, but on the X2 parts (40 in particular) it doesnt seem to like accessing the pins directly. While I know its easy enough to read in the whole port then test the bit, is there a simpler way to access say.... D.2 in an "if D.2 = 1 then ...", or do I have to go through the rigmarole of reading d.2 into a variable and testing that?
Ta!