From 2.4 page 36
From 2.6 page 42
or
From 3.0 pages 70 an 78
Ioannis
From 2.4 page 36
From 2.6 page 42
or
From 3.0 pages 70 an 78
Ioannis
You're absolutely right!
If it's any help to anyone else, when I searched for logical AND, the first instance that came up is on page 43. The proper names for the boolean operations (AND, OR, XOR) are not used on P42.
Well, hopefully some good has come from my initial problem (which I've now sorted/worked around by other means)...thanks for your input everyone!
Hank, does PBP allow you to XOR a bit?
Code:adcon0.2 = adcon0.2 XOR 1
That's pretty much how I would do it BoostC ( adcon0.2 ^= 1 ).
Cheerful regards, Mike
This adcon0.2 = adcon0.2 XOR 1 does a logical XOR.
You need bitwise XOR:
adcon0.2 = adcon0.2 ^ 1
Ioannis
Bookmarks